File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF Template Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Template" Watch "JSF Template" New topic
Author

JSF Template

Venkata Saraswathi
Ranch Hand

Joined: Sep 27, 2008
Posts: 55
Hi

I have xhtml page which uses the template which contains regions like, header, title, menu, body, footer.
Now, In the menu region there are set of links. Upon clicking on link the content in the body region should be updated accordingly.
Can any body provide sample code to acheive this. [how to commucate b/w different regions of template]

Thanks,
--Venkata.
VijayAnand Venkateswaran
Greenhorn

Joined: Aug 04, 2008
Posts: 13
Hi,
First Of all create a layout like this, For my scenario I have Header,LeftPanel,content,Footer.This should be your Base.




This is test settings.xhtml which


Now I had defined ui:compostition layout.xhtml as my base template, but for testsettings.xhml,The Content part should only be changed.Hope This Should Provide an Idea.
Please follow the Below Link,Where you can Download Example Implemetaion Also
http://www.ibm.com/developerworks/java/library/j-facelets/


Ship Is Safe at Shore,But its not Built For That
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF Template