We could probably do this -- though you can too :)

<ww:textfield label="'Foo'" name="'foo'">
    <ww:param name="style" value="'width:160px'"/>
</ww:textfield>

Then just modify place text.vm in /template/xhtml and add a section to
do:

#if ($parameters.style) style="$parameters.style" #end

-Pat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mathias Berg
Sent: Wednesday, November 19, 2003 3:09 AM
To: WebWork (E-mail)
Subject: [OS-webwork] style parameter to ww's UI tag

Hi, about setting stylesheet on UI tags. See below input tag that i
would
like to have by using the ww:textfield tag for ex.

<input type="text" name="test" class="input" style="width:160px;
vertical-align:top">

is there a way to add this functionality in the ww:textfield tag? or
should
you do it throgh the text.vm file instead?

example:

<ww:textfield label="'textfield'" name="textfield" style="'width:160px;
vertical-align:top'" />

Maybe you already though something up about this.

/Mathias.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to