Hi Guys,
I'm trying to use the Type Conversion at Struts2, but I'm getting a NPE.

Here is my MyAction-conversion.properties file:

KeyProperty_insertList=id
Element_insertList=my.package.MyBean
CreateIfNull_insertList=true

MyAction has the attribute List<MyBean> insertList as well as its setters
and getters.

Does somebody knows if it is required to override toString in MyBean?

I'm also trying to set a value of a Bean inside a Map under my Bean.
Something like this:

insertList('%{id}').movMap['5'].value

Would it work?

Thanks in Advance,

Felipe
-- 
View this message in context: 
http://www.nabble.com/Type-Conversion-error---NPE-tf3549020.html#a9907753
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