Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

[JSF] customtag

Thread view: 
Mark Sudau - 02 Jan 2006 13:56 GMT
Hi folks,

I need a sorted / unsorted list (<ol>/<ul>) as a customtag for JSF for a  
css menu with submenus. Im the HTML prototype it works fine and I wanted  
to use the css-file without modification.

Does anybody has an idea where to find a good documentation,  a good  
sample or a good idea for an other solution.

thanks for help

Mark
Chris Smith - 04 Jan 2006 04:05 GMT
> I need a sorted / unsorted list (<ol>/<ul>) as a customtag for JSF for a  
> css menu with submenus. Im the HTML prototype it works fine and I wanted  
> to use the css-file without modification.

Do you mean that you want to build a custom component, or just a custom
tag?  This would work best as a JSF component.

In any case, what I've done for this in the past is to test for the
existence of the CSS file by some fairly unique name, and if it doesn't
exist in the web application, then include the contents into an inline
HTML style element by reading and copying from a resource in your JAR.  
The documentation should then strongly recommend placing the
appropriately named CSS file in the right place.  (I've actually used
this for an external JavaScript file implementing JSON... but same
diff).

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.