You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Laurent MARQUEZ <la...@artal.fr> on 2003/08/14 14:02:34 UTC

How to display error message coming from DynaValidatorForm?

I would like to display error message coming from my DynaValidatorForm.
</html:error> doesn't work.

<html:form action="/project">
	<table width="45%" border="0">
		<tr>
			<td><bean:message
key="project.data.name"/>:</td>
			<td><html:text property="name"/></td>
		</tr>		
		<tr>
			<td colspan="2" align="center"><html:submit
/></td>
		</tr>
	</table>
</html:form>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: RE : How to display error message coming from DynaValidatorForm?

Posted by Jeff Kyser <kt...@comcast.net>.
That's what I use whenever I can, and it works fine for me.

-jeff

On Thursday, August 14, 2003, at 08:24  AM, Laurent MARQUEZ wrote:

> Ok for typo, but
> does "<html:errors />" work with dynaValidatorForm?
>
> -----Message d'origine-----
> De : Jeff Kyser [mailto:ktrails@comcast.net]
> Envoyé : jeudi 14 août 2003 14:09
> À : Struts Users Mailing List
> Objet : Re: How to display error message coming from DynaValidatorForm?
>
>
> Don't know if you've just got a typo in your e-mail or not, but
>
> 	<html:errors/>		(plural)
>
> works fine.
>
> 	or for your specific field below, <html:errors property="name"/>
>
> -jeff
>
> On Thursday, August 14, 2003, at 07:02  AM, Laurent MARQUEZ wrote:
>
>>
>> I would like to display error message coming from my
>> DynaValidatorForm. </html:error> doesn't work.
>>
>> <html:form action="/project">
>> 	<table width="45%" border="0">
>> 		<tr>
>> 			<td><bean:message
>> key="project.data.name"/>:</td>
>> 			<td><html:text property="name"/></td>
>> 		</tr>		
>> 		<tr>
>> 			<td colspan="2" align="center"><html:submit
>> /></td>
>> 		</tr>
>> 	</table>
>> </html:form>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE : How to display error message coming from DynaValidatorForm?

Posted by Laurent MARQUEZ <la...@artal.fr>.
Ok for typo, but 
does "<html:errors />" work with dynaValidatorForm?

-----Message d'origine-----
De : Jeff Kyser [mailto:ktrails@comcast.net] 
Envoyé : jeudi 14 août 2003 14:09
À : Struts Users Mailing List
Objet : Re: How to display error message coming from DynaValidatorForm?


Don't know if you've just got a typo in your e-mail or not, but

	<html:errors/>		(plural)

works fine.

	or for your specific field below, <html:errors property="name"/>

-jeff

On Thursday, August 14, 2003, at 07:02  AM, Laurent MARQUEZ wrote:

>
> I would like to display error message coming from my 
> DynaValidatorForm. </html:error> doesn't work.
>
> <html:form action="/project">
> 	<table width="45%" border="0">
> 		<tr>
> 			<td><bean:message
> key="project.data.name"/>:</td>
> 			<td><html:text property="name"/></td>
> 		</tr>		
> 		<tr>
> 			<td colspan="2" align="center"><html:submit
> /></td>
> 		</tr>
> 	</table>
> </html:form>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: How to display error message coming from DynaValidatorForm?

Posted by Jeff Kyser <kt...@comcast.net>.
Don't know if you've just got a typo in your e-mail or not, but

	<html:errors/>		(plural)

works fine.

	or for your specific field below, <html:errors property="name"/>

-jeff

On Thursday, August 14, 2003, at 07:02  AM, Laurent MARQUEZ wrote:

>
> I would like to display error message coming from my DynaValidatorForm.
> </html:error> doesn't work.
>
> <html:form action="/project">
> 	<table width="45%" border="0">
> 		<tr>
> 			<td><bean:message
> key="project.data.name"/>:</td>
> 			<td><html:text property="name"/></td>
> 		</tr>		
> 		<tr>
> 			<td colspan="2" align="center"><html:submit
> /></td>
> 		</tr>
> 	</table>
> </html:form>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org