Re: Type-Conversion error - NPE
Did you really think I made it because I want to? Tim Williams wrote: 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 ListMyBean 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] -- View this message in context: http://www.nabble.com/Type-Conversion-error---NPE-tf3549251.html#a9938849 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Type-Conversion error - NPE
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 ListMyBean 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-tf3549019.html#a9907751 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Type-Conversion error - NPE
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 ListMyBean 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]
Type-Conversion error - NPE
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 ListMyBean 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-tf3549169.html#a9908217 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Type-Conversion error - NPE
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 ListMyBean 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]