File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Customize Look & Feel like my.yahoo ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Customize Look & Feel like my.yahoo ?" Watch "Customize Look & Feel like my.yahoo ?" New topic
Author

Customize Look & Feel like my.yahoo ?

Shakti Dalabehera
Greenhorn

Joined: Sep 17, 2005
Posts: 5
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

Joined: Oct 27, 2003
Posts: 256
yes it is.
Shakti Dalabehera
Greenhorn

Joined: Sep 17, 2005
Posts: 5
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

Joined: Oct 27, 2003
Posts: 256
you will not need any specific libraries, a google search on struts internationalization turns up load of results
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
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}"/>;}


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Kristin Fehr
Greenhorn

Joined: Nov 02, 2005
Posts: 1
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 ]
 
jQuery in Action, 2nd edition
 
subject: Customize Look & Feel like my.yahoo ?
 
Similar Threads
Question about war. files and customizing apps
Binary values 8 bit / 16 bit
Two different font sizes for the text in titlebar
How to find font size defined in user environment
User Preferences !! Urgent