Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Display Content Types based on Folder

653189Sep 12 2008 — edited Sep 13 2008
Hi All,

I am using Bea weblogic portal 10.2 with MySql 5.0

I have created content types named: type1 and type2.

I have folders in the repository named: folder1 and folder2.

while Adding the content in folder1 , I need to display only "type1" in content types box.

While adding the content in folder2 , I need to display only "type2" in content type box.

That means , I need to display content types based on folder.


Pls suggest is this possible.

Srinivas

Comments

bouye-JavaNet

Hi,

passing values from 1 class to another (or 1 part of your program to another) is just a basic Java issue and has little to do with JavaFX itself. You either pass them as parameters of the new class constructor or as parameters when you invoke setters or other methods, your choice. You know how to do that in regular / basic Java (or even in other programming languages)? Then it's exactly the same in JavaFX, no special trick involved...

As for switching scene, if that is needed (because frankly there's little point into switching the entire scene when you just can switch the scene's content), you just have to replace the scene reference in the stage with a new one by calling myStage.setScene(). That's it, there is nothing strange or complex when doing that.

You prefer to no use FXML, OK no worries, it works the same with or without FXML...

So I really do not see what are your issues here... Why not try to do small test programss by yourself to experience that. There is nothing special in the questions you've just asked.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 11 2008
Added on Sep 12 2008
3 comments
318 views