Andrew - 

Thanks but I tried adding the property attribute, and changed the string
parameter in errors.add to be the same value, but still no luck. 

Dave - 

I tried adding validate, but still no luck. Thanks for the tip on the
saveErrors method, I can the struts mailreader example does this, as you
say, didn't RTFM enough :)

I think I'll have to give up on my own template app, and just modify the 
struts mailreader example as a starting point ... at least this way if 
it breaks I can just rollback my changes.

Andy.


>-----Original Message-----
>From: Andrew Thorell [mailto:[EMAIL PROTECTED]
>Sent: 26 May 2005 14:12
>To: Struts Users Mailing List
>Subject: Re: Blank page returned from ActionForm
>
>
>/**
>* Double check the property 'Property' inside the Errors tag, it could
>be name, I just don't *have my code infront of me to double check.
>*/
><html:errors property="login" />
>
>errors.add("login", new ActionMessage("logon.form.password.invalid"));
>
>I've never been able to return an error using
>ActionErrors.GLOBAL_MESSAGE before. No idea why, I just found a work
>around that ended up working better for me in the end, because now I
>could put errors where ever I wanted.
>
>Hope that helps,
>
>Andrew T
>
>> <html:errors/>
>
>>             errors.add(ActionErrors.GLOBAL_MESSAGE,new
>> ActionMessage("logon.form.password.invalid"));
>
>---------------------------------------------------------------------
>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