Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design Question

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.

Cheers

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic