TonyD wrote:
First of all, in my company, I'am representing all my colleagues that have
problems with structs.
The tool is called Struts. No 'c'.
If I have a form with only one structs tag:
<s:checkbox cssStyle="color:red" id="myckb" name="myckb" label="RED"
value="true"/>
and if the syntax of this instruction is correct, I should see a checkbox
with a red label checked.
Nothing in this tag is setting the color of the label. You're setting
the text of the label to read "RED", and (hopefully) the style attribute
of the checkbox to be "color:red".
What does HTML mean? I know how setting colors with HTML and it works.
The problem is structs.
What html does executing this .jsp produce? Either it produces the html
you think it generates, and IE is not displaying this in the way you
expect, or it does not produce the html you want it to, and you should
figure out why.
(hint: In IE, try "view source" on the generated page.)
Have you tried the suggestions offered earlier? For example, did you
try cssStyle="%{'color:red'}" ?
What theme is this using? Do you have a theme attribute on the s:form
tag? If not, do you have a struts.ui.theme setting anywhere?
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]