This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Design Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Design Question" Watch "Design Question" New topic

Design Question

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
I would like to have various different views in my application and to allow the user to choose which layout they want.
I am using JSF / Facelet Templates / CSS and a bit a of Javascript / JQuery.

I would like the user to be able to click some buttons and get a different look and feel. I know what JQuery brings to the table here. It can switch between different CSS's very easily and add /remove class selectors dynamically.

But I would also like to have different facelet templates and to allow the user to flip betweeen them?

One way to do this would be to just reference the facelet template using a variable?

Sound reasonable? Or anything I'm missing.


I agree. Here's the link:
subject: Design Question
Similar Threads
Grids with selectable rows in JQuery
Finding a File outside Workspace in Eclipse IDE
Guidance on organizing facelets, param names, etc.?
How can I implement AJAX with Faclet
Facelet 1.2 spec in WebSphere 6.1 (Servlet 2.4, JSP 2.0)