hi,
i use in in my form.jsp

to enter "foo"-property of my formBean
and the messages-tags to display error-messages,
that came up during validation.

//INPUT
FOO: <html:text property="foo"/>

//DISPLAY ERRORS-MSG
<struts-html:messages id="error" property="foo">
<struts-bean:write name="error"/>
</struts-html:messages>

i add an ActionMessage-object
to the action.errors.collection


cheers,


-----Original Message-----
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 09, 2004 9:29 PM
To: 'Struts Users Mailing List'
Subject: RE: ActionErrors deprecated?


> in jsp use this:
> <html:text property="foo"/>
> <struts-html:messages id="error" property="foo">
>    <struts-bean:write name="error"/>
> </struts-html:messages>

Maybe I'm dumb, but I can't make any sense of this. Use it for what?

--
Tim Slattery
[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