On 4/9/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:

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

Felipe,
Can you please stop this spam.  Be nice/patient and ask your question
once vs. 6 duplicate emails in less than an hour.  Give it some time.
Thanks,
--tim

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

Reply via email to