Hi ElBibich

Did you find a solution to the problem.



ElBibich wrote:
> 
> Sorry,
> 
> I have found issue just after having clicked the send button ;-)
> 
> Julien Chanséaume.
> 
> Julien C. a écrit :
>> Hi list,
>>
>> (Spring MVC)
>> I'm using the class Address in my Entreprise class. It's the same 
>> class and use as the Address in User class. so I have copied the part 
>> of form in userForm in my EntrepriseForm.
>> It's working when my entreprise/address exist but I've gota error when 
>> I want to add a new entreprise :
>>
>> --------------------------------
>> ERROR [btpool0-11] InputTag.doStartTag(84) | Invalid property 
>> 'address' of bean class [com.cogem.model.Entreprise]: Value of nested 
>> property 'address' is null
>> org.springframework.beans.NullValueInNestedPathException: Invalid 
>> property 'address' of bean class [com.cogem.model.Entreprise]: Value 
>> of nested property 'address' is null
>>         at 
>> org.springframework.beans.BeanWrapperImpl.getNestedBeanWrapper(BeanWrapperImpl.java:443)
>>         at 
>> org.springframework.beans.BeanWrapperImpl.getBeanWrapperForPropertyPath(BeanWrapperImpl.java:418)
>> --------------------------------
>>
>> In fact, it's exactly the same way  as  The userForm. but I haven't 
>> seen something special in userForm and its controller.
>>
>> If you have an idea...
>> regards, Julien Chanséaume.
>>
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/use-of-embedded-address-in-an-other-class-tf4157661s2369.html#a13625884
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to