Sunday, January 20, 2013

How to create layout with dynamic include



1. design the layout. eg,
create layout with dynamic include
2. create the template file in XHTML. eg
create layout with dynamic include


3. putting content into HEADER, FOOTER, and LEFT PANEL sections. eg,
create layout with dynamic include
4. bind the dynamic content section with a session scoped attribute.
create layout with dynamic include
5. in managedBean's action, instead of return a navigation case, but set new url value to the contentUrl.
create layout with dynamic include
6. in the component invoking the above action, re-render the dynamicpanel panelGroup.

for more information about step 5, and step 6. please refer How to create wizard with dynamic include in JSF2 which using the same concept.

Done!!

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...