Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customize Look & Feel like my.yahoo ?

 
Shakti Dalabehera
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My project is having a special requirement somewht like what is there in my.yahooo.com.Where in you can customize the look and feel of your pages. For Example, someone wants to have a blue background with font size 7 and other person wants to have a green back ground with font size 11 .
Please let me know if this can be done using struts ? or any other open source library .
Thanks in advance.
Regards,
Shakti
 
Pranav Sharma
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it is.
 
Shakti Dalabehera
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please let me know how I can do it ? What are the lib that i need to use for this ??
Regards,
Shakti
 
Pranav Sharma
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you will not need any specific libraries, a google search on struts internationalization turns up load of results
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
internationalization??? did you read the question?

what you want to do is not easily done using struts since it provides only basic frontend support. the rest is your creativity. the closest thing that you will find useful is tiles, which allows for you to have SOME UI flexibility. still with tiles, you are limited to pre-defined configurations (that is pre-defined templates) and will not be able to go more fine-grained.

your better approach for fine-grained frontend control is to use stylesheet controls. my favorite one is iht.com where you can dynamically resize font and column format. there are much more advanced controls, but you'll need to explore CSS options.

another way i can think of is to generate the CSS styles based on user-selected options. pass the font size, color, and other things into the jsp which contains all the CSS style defs where the definitions will be partially fixed and partially dynamic: ex. pageTitle{border:<c ut value="${userOptions.borderColor}"/>;}
 
Kristin Fehr
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mean this, that I have no possibility to create on a easy way different look and feels for different user?

MFG Kristin
[ November 02, 2005: Message edited by: Kristin Fehr ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic