struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Rodrigues <feliperod...@yahoo.com.br>
Subject Re: Type-Conversion error - NPE
Date Wed, 11 Apr 2007 12:52:04 GMT

Did you really think I made it because I want to?


Tim Williams wrote:
> 
> On 4/9/07, Felipe Rodrigues <feliperod777@yahoo.com.br> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message