struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fea jabi" <zy...@hotmail.com>
Subject Re: logic:messagesPresent not working for nestedProperty
Date Fri, 14 Jul 2006 13:02:00 GMT
Thanks, that worked giving

messages="true" on the logic:messagesPresent and html:messages tags

But not sure when this has to be given? ActionMessages are saved have to 
give this???


Thanks.


>From: Laurie Harper <laurie@holoweb.net>
>Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>To: user@struts.apache.org
>Subject: Re: logic:messagesPresent not working for nestedProperty
>Date: Thu, 13 Jul 2006 15:39:03 -0400
>
>Are you sure the messsges are stored as error messages? What happens if you 
>include messages="true" on the logic:messagesPresent and html:messages 
>tags?
>
>L.
>
>fea jabi wrote:
>>Validator messages are not getting displayed in JSP.
>>
>>
>>When debugged the code i.e JSP, I see the RequestAttributes does
>>contain the ActionErrors object and the also the messages in it.
>>
>>the message has
>>Key is  ___ "hrs[1].adHrs"
>>value is _____ "lbl.notvalidnumber"
>>
>>
>>>
>>>have the below in the JSP
>>>
>>>            <logic:messagesPresent>
>>>                <UL>
>>>                    <html:messages id="error">
>>>                    <LI><bean:write name="error"/></LI>
>>>                    </html:messages>
>>>                </UL>
>>>            </logic:messagesPresent>
>>>
>>
>>>What's missing here?
>>>
>>>Thanks.
>>>
>>>_________________________________________________________________
>>>Donít just search. Find. Check out the new MSN Search! 
>>>http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>For additional commands, e-mail: user-help@struts.apache.org
>>>
>>
>>_________________________________________________________________
>>FREE pop-up blocking with the new MSN Toolbar Ė get it now! 
>>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Mime
View raw message