The views expressed on this blog are my own and do not necessarily reflect the views of any Organisations owning these products.I keep on doing R & D with different products in and around Middle ware stack and these posts are result of that.Most of the post are result of my own experiments or ideas taken from other blogs .If in any case You feel content is not right you can comment to remove that post. This blog uses the default features,cookies of blogspot.com
Monday, May 26, 2014
Adding page to your Portal at desing time from JDeveloper in Web Center
In the previous two exercises we saw how we can create a default portal page and add custom pages to it from the run time portal page. In this exercise we will see how we can add pages at design time from jdeveloper and add navigation rule to them.
Go to Jdeveloper project
Go to pages folder and create a new page
Name is as Hello World as shown below
Drag and drop an output text component and write some logical lines to it.
Add one more page to it as shown below and put some output text in here.
Again put and output text and write some comment to it, SAve all the changes.
Now go to the pagehierarcy -->pages and then select the homepages.xml
This is the place where you can defined the hierarchy of your page.
By default it is a root where you have the Home page.
Now drag and drop your HelloWorld page into the Root folder
Then drag and drop the HelloArpit page to the HelloWorld so that your application will appear with the following hierarchy.
Deploy your code to integrated server and observer the page, you will find an entry for the HelloWorld and when you will put your moust over it you will get the other page HelloArpit as a sub page to it.
You can click on the respective page you wanted to navigate to the page
No comments:
Post a Comment