Hi Kishen

I just want to use them like I did in Struts 1. Let the tags generate de
content but not extra design (<table>, <tr>, <td>, <ul>, <li>). I have a Web
Designer that takes care of my HTML design and if I add the tags it will
generate extra design that I don't need. 

For example for the <s:form/> tag I just need to generate de JavaScript
Client-Side Validation and the <form/> tag.

For <s:fielderror/> tag I just need to generate de message with the error.

Regards,

Néstor Boscán 

-----Mensaje original-----
De: Kishen Simbhoedatpanday [mailto:[EMAIL PROTECTED] 
Enviado el: Martes, 17 de Julio de 2007 05:40 a.m.
Para: user@struts.apache.org
Asunto: Re: Struts 2 Theme that doesn't generate extra HTML


How do you want your field errors displayed? 
I always use a the list tags for displaying lists....

Maybe you can use the css_xhtml theme in the <s:form /> tag.
And xhtml themes for formelements like textfields etc.
Still you will have the overhead when it comes to <tr> and <div> tags.



Néstor Boscán-3 wrote:
> 
> Hi
>  
> Is there a Struts 2 Theme that doesn't generate extra HTML for the tags.
> For
> example XHTML generates a lot of <table>, <tr> and <td> and Simple 
> will generate <li>, <ul> errors for Field Errors. Also in Simple Theme 
> I can't get <s:form/> to generate the JavaScript code for Client Side
Validation.
>  
> Regards,
>  
> Néstor Boscán
>  
> 
> 

--
View this message in context:
http://www.nabble.com/Struts-2-Theme-that-doesn%27t-generate-extra-HTML-tf40
82327.html#a11646156
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to