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]
posted 6 years ago
First Of all create a layout like this, For my scenario I have Header,LeftPanel,content,Footer.This should be your Base.
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