Re: simple vs xhtml theme, validation question

2008-10-09 Thread Torsten Krah
Am Mittwoch, 8. Oktober 2008 20:27:40 schrieb Gabriel Belingueres: > You can do it by hand though: Thx for this hint, should habe seen that myself. Thats a good idea to do stuff with s:if and s:else myself. thx. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.o

Re: simple vs xhtml theme, validation question

2008-10-08 Thread Gabriel Belingueres
You can do it by hand though: In addition, if you are using S2.1, then you have a basic error handling. Each tag has an cssErrorClass and cssErrorStyle attributes that are set when there is a validation error. 2008/10/8 Sébastien Domergue <[EMAIL PROTECTED]>: > Hi, > you're right, s

Re: simple vs xhtml theme, validation question

2008-10-08 Thread Sébastien Domergue
Hi, you're right, simple theme don't allow you to use validation. In order to use validation with the simple theme you have to extend it or to modify xhtml theme in order not to build the table layout. The templates sources are in struts jar and you can define others by adding them to struts.pr

Re: simple vs xhtml theme, validation question

2008-10-08 Thread Lukasz Lenart
2008/10/8 Torsten Krah <[EMAIL PROTECTED]>: > I don't want to use the xhtml theme because of the table layout it produces, > the simple is enough. > However, simple does not render the validation errors or messages. You can use css_xhtml theme [1] > Wheres the glue to do so with the simple theme?