struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Trouble with map backed form properties
Date Fri, 13 Sep 2002 19:04:29 GMT
Thanks, that worked!

Dave


>From: Hemanth Setty <hsetty@buildview.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>Subject: Re: Trouble with map backed form properties
>Date: Fri, 13 Sep 2002 12:28:14 -0500
>
>On the ActionForm you should have methods that take the complete map ..ie
>public Map getCategoryName() and
>public setCategoryName(Map catName)
>I think this should work.
>-hemanth
>
>David Graham wrote:
>
>>Ok, so I upgraded to 1.1b2 so I could use map backed form properties but I 
>>still can't get them to work.  I get this exception:
>>
>>javax.servlet.jsp.JspException:
>>No getter method for property categoryName(1) of bean 
>>org.apache.struts.taglib.html.BEAN
>>
>>My ActionForm has a getCategoryName(String key) method (I also tried it 
>>with an int instead of String).
>>
>>Any ideas?
>>
>>Thanks,
>>Dave
>>
>>
>>
>>_________________________________________________________________
>>MSN Photos is the easiest way to share and print your photos: 
>>http://photos.msn.com/support/worldwide.aspx
>>
>>
>>--
>>To unsubscribe, e-mail:   
>><mailto:struts-user-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: 
>><mailto:struts-user-help@jakarta.apache.org>
>>
>>
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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


Mime
View raw message