• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Customize Look & Feel like my.yahoo ?

 
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
 
Ranch Hand
Posts: 261
  • 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: 261
  • 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
 
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}"/>;}
 
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 ]
 
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!