I tried but doesn't work.
However I'am using in my form a particular theme "qxhtml" for displaying
fields horizontaly in a table tag.
I cann't believe it's so hard to change a label color with struts!
Thanks for your reply.
Leena Borle wrote:
>
> You can try this,
> set the theme of your form to css_xhtml .
> If you have any css classe, you can just call them within form elements
> like .e.g.
> <s:submit action="ABC" cssClass="buttons" />
> <s:textfield key="myText" labelposition="left" cssClass="textfield" />
>
> Leena
>
> On 7/9/07, Dale Newfield <[EMAIL PROTECTED]> wrote:
>>
>> TonyD wrote:
>> > I have the same problem with a checkbox tag,
>> > if a use the ccsStyle="color:Green" to change the label color to green,
>> > it doesn't work at run time and the label remains with a black color!
>>
>> Is it generated by struts and ignored by the browser (if so, maybe
>> "Green" and "green" are not equivalent), or is it not getting to the
>> browser? Maybe the attribute is being evaluated? To find out if that's
>> the problem, try cssStyle="%{'color:green'}"
>>
>> -Dale
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/How-to-control-the-display-of-Struts2-tags-like-s%3Atextfield-tf4032263.html#a11515870
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]