• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Customize Look & Feel like my.yahoo ?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes it is.
 
Shakti Dalabehera
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you will not need any specific libraries, a google search on struts internationalization turns up load of results
 
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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}"/>;}
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic