The Struts 1 tags took a nice middle ground.  They had the advantages
(auto property management and validation) without all the mentioned
disadvantages (slow rendering and loss of visual control).  Any chance
we could see something along this vein in Struts 2?
 (*Chris*)

On 7/16/07, Ian Roughley <[EMAIL PROTECTED]> wrote:
You have to pick your poison.  You use the tags with their advantages
and disadvantages, or you implement what you need (client side
validation) manually.

/Ian

Néstor Boscán wrote:
> Yes Thanks, that's something I can do but what about the JavaScript code for
> the Client-Side Validation?.
>
> Regards,
>
> Néstor Boscán
>
> -----Mensaje original-----
> De: Ian Roughley [mailto:[EMAIL PROTECTED]
> Enviado el: Lunes, 16 de Julio de 2007 11:51 a.m.
> Para: Struts Users Mailing List
> Asunto: Re: Struts 2 Theme that doesn't generate extra HTML
>
> Then use HTML and the property tag to obtain value from the action or value
> stack.  Its only the form tags that use themes/freemarker templating.
>
> /Ian
>
> Néstor Boscán wrote:
>
>> That's correct, but in this project I have to work with OGNL and the
>> Struts
>> 2 Tags.
>>
>> Regards,
>>
>> Néstor Boscán
>>
>> -----Mensaje original-----
>> De: Ian Roughley [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 16 de Julio
>> de 2007 09:10 a.m.
>> Para: Struts Users Mailing List
>> Asunto: Re: Struts 2 Theme that doesn't generate extra HTML
>>
>> You can always use JSTL and HTML.
>>
>> /Ian
>>
>> Chris Pratt wrote:
>>
>>
>>> Simple seems to be the closest, but unfortunately it is still run
>>> through the Freemarker templates, so it has the same overhead that
>>> the other themes have.
>>>
>>> You can, change the simple theme to remove those <li> & <ul> the same
>>> way any other theme can be modified.
>>>
>>> But I'd love to find a way to use Struts 2 without theme support at
>>> all, with CSS and some good patterns you can achieve the same thing
>>> with a lot less overhead.
>>>
>>>  (*Chris*)
>>>
>>> On 7/15/07, Néstor Boscán <[EMAIL PROTECTED]> 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
>>>>
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> 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]
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>


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

Reply via email to