Hi Eddie,

basically there's no support for CSS in the current release (there is a JIRA though)..
You have a few possibilities to add customized layouts to your controls:
- create a theme and use the attribute theme (this takes your customized velocity 
templates from the directory specified). here you could add (hardcoded) a class for 
each control you need
- use something like <webwork:texfield...><param 
name="cssclass">csssytle</param></ww:textfield>. this enables you to read the 
parameter in your .vm files and there you could check the param and use the stylesheet
- extend the taglib yourself using abtractuitag (i think) and add the parameter (but 
this 

hope this helps

cheers
p

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von
Edward Peloke
Gesendet: Dienstag, 9. März 2004 19:44
An: WebWork
Betreff: [OS-webwork] specifying a sytle sheet in the text field?


I have the following webwork tag:

<webwork:textfield label="'Username'" name="'username'" />

I have a style sheet where I define a style for the text inputs.  How do I
apply this style to this control?


This throws errors..
<webwork:textfield label="'Username'" name="'username'" class="text" />


Thanks,
Eddie



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to