I suggest you use the simple theme by specifying theme="simple" in your form tag and then create your own labels and styling. Also, S2(WW) uses default styles which you can override in your local style sheet. I'm pretty sure these are the styles used for the default theme:
.label {font-style:italic; } .errorLabel {font-style:italic; color:red; } .errorMessage {font-weight:bold; text-align: center; color:red; } .checkboxLabel {} .checkboxErrorLabel {color:red; } .required {color:red;} Other wise you write your own theme using velocity and the sky's the limit. Z. > Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis > Investor Servicing. Les adresses mails des collaborateurs ayant changé, > veillez à la mise à jour de votre carnet d'adresses. > > > Thank you for the url that you pointed me. > I've read and searched a lot in the themes topic. But my problem is far to > be solved. > It seems to me that I have to extend or override the default form theme if > I want to render > my form elements as I want. > > The problem is that I that I've not found a simple sample that doing what > I want. > > The code below describe my need. > > <s:form action="delete"> > <table border=0 width=80% cellpadding=0 cellspacing=0 align=center> > <tr nowrap class="datavalueblue" > > <td> <b>Titre :</td> > <td align=left> > <s:textfield label="titre" name="article.titre" size="50"/> > </td> > </tr> > <tr> > <td></td> > <td> > <input type=submit value="Ajouter"> > </td> > </tr> > > </table> > </s:form> > > The code generated by struts ignores all of my rendering needs. > > > when I write it in a pure struts2 style like below: > > <s:form action="create"> > <s:textfield label="titre" name="article.titre" size="50"/> > <s:submit key="button.add"/> > </s:form> > > The default html form theme is used and you can guest the result. > > Can someone explain me simply how I can set a style to the generated label > instead of the default used by struts. > > Any meaningful help would be greetly appreciated. > > Meissa. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]