PDA

View Full Version : JSF: Swapping between different templates.xhtml files



shafi
January 2nd, 2009, 03:32 PM
Does any one have the idea how to swap between different templates.xhtml files in a jSF page?
I have a navigation bar that is loaded from a template file, after login the system I want another template to be loaded into my home, exactly the same as above navigation bar in ubuntuforum: before login you have an option at the top to login to forum after login in there is no login button anymore but instead you have a log out button.
how can I do this kind of swapping?
I have write down the problem in more detail to this thread:http://forums.sun.com/thread.jspa?threadID=5358019
Thank you.

shafi
January 4th, 2009, 12:01 PM
any one?

cl333r
January 4th, 2009, 03:41 PM
Sorry, I'm using JSF but never deal with templates you're talking about, try on the following forum since it's dedicated to JSF, I often get good answers although it takes like a day to get one:
http://www.coderanch.com/forums/f-82/JSF

good luck