Just wondering, why do the bean properties have to be dynamic? Can't you just create an association bean for the product properties and handle those in a separate table? Then everything will be handled for you automatically.

Question is: How would Crud react to that? Well, I guess I should just try it out.

*runs off to some coding*

It's directly supported, just use the "assocations" bean constraint on the main bean and the "manyToOne" property constraint of the "Property" bean.

For example:
http://rifers.org:8088/viewrep/rifers/rife-crud/trunk/samples/java/ com/uwyn/rife/crud/samples/beans/Test.java?r=2955 http://rifers.org:8088/viewrep/rifers/rife-crud/trunk/samples/java/ com/uwyn/rife/crud/samples/beans/TestQuestion.java?r=2955

Hope this helps.

Best regards,

Geert

--
Geert Bevin             Uwyn bvba               GTalk: [EMAIL PROTECTED]
"Use what you need"     Avenue de Scailmont 34  Skype: gbevin
http://www.uwyn.com     7170 Manage, Belgium      AIM: geertbevin
gbevin at uwyn dot com  Tel: +32 64 84 80 03   Mobile: +32 477 302 599

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


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

Reply via email to