struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Fraga <felipefr...@gmail.com>
Subject Re: Validation - Simple Theme
Date Thu, 16 Apr 2009 01:35:36 GMT
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 <jhkiley@summa-tech.com> wrote:
> Customizing the textfield in the xhtml theme takes about seven minutes.
>  Really.
>
> 2009/4/15 André Diniz <adiniz@gmail.com>
>
>> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message