if fancy errors above each field is not needed, it can simply add the
following to the JSP, and it will render the errors and messages.

<s:if test="hasErrors()">
        <s:fielderror/>
        <s:actionerror/>
</s:if>
<s:if test="hasActionMessages()">
        <s:actionmessage />
</s:if>


On Wed, Apr 15, 2009 at 10:31 PM, Jim Kiley <[email protected]> wrote:
> Customizing the textfield in the xhtml theme takes about seven minutes.
>  Really.
>
> 2009/4/15 André Diniz <[email protected]>
>
>> How to validate my forms using simple theme?
>>
>> I can't see the message errors....
>>
>>  - - - x - - -
>>
>> I'd like to create my text fields side-by-side using ajax or xhtml themes,
>> how can I do that? I have to customize a theme to do that? Oh my! How come?
>> Minus bonus points for Struts...
>>
>> André.
>>
>
>
>
> --
> Jim Kiley
> Senior Technical Consultant | Summa
> [p] 412.258.3346
> http://www.summa-tech.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to