Hi Laki,

this is what you're looking for I think:

<element implementation="eu.lc.inscription.InscriptionVIP">
   <submission name="vip_data" >
       <bean name="vip" classname="eu.lc.beans.VIP" />
       <bean name="adresse" classname="eu.lc.beans.Address" />
   </submission>
</element>

You can retrieve either bean from within your InscriptionVIP implementation after the vip_data submission.

Hope this helps,

Geert


On 21 May 2006, at 10:08, Laki roganovic wrote:

Hi Geert,

Thanks for your answer. I get the first point, but the second leaves me puzzled...


* a property "address" of type Address, from table address. It seems that you can only associate one bean per form, so how can i manage
     it ?

Properties of complex types are not supported in automated form building and bean population from submissions. You can however add as many beans as you want per submission.
I added an address submission bean in my inscriptionVip element :

<element implementation="eu.lc.inscription.InscriptionVIP">
   <submission name="vip_data" >
       <bean name="vip" classname="eu.lc.beans.VIP" />
   </submission>
   <submission name="address_data" >
       <bean name="adresse" classname="eu.lc.beans.Address" />
   </submission>
</element>


But how can i retrieve it in my inscriptionVip implementation, since generate form already handles my VIP bean ?

Thanks for your help.

Best regards

Laki
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin
Uwyn bvba "Use what you need"
http://www.uwyn.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to