Your get/set method signatures provide a *huge* hint to the conversion magic
logic.  If you are curious to see how this actually works, take a look at
Ognl, OgnlUtil amd OgnlRuntime.  If you can make it through the  reflection
code, it is quite amazing.

Scott






tREXX - wrote:
> 
> Hi Dave,
> 
> Ok, i've tried that one and it works like it should.
> 
> So that getter method works as kind of a "type hint" to the framework so
> that struts knows it has to convert the parameter "amount" to the given
> Map<Intger, Float> - Is that correct? Up to now I've only added getter
> methods to struts-actions when i really wanted to access some properties
> from my JSP. I never thought they would have an effect on the type
> conversion (and on using the right setter method).
> 
> Anyway - problem solved. Thanks for your help and patience!
> 
> André
> 
> 

-- 
View this message in context: 
http://www.nabble.com/question%3A-indexed-textfields-and-maps-tp19519758p19535398.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to