Hi,

I'm making good progress in my first Rife application, but I am still confused about a few things. I didn't find a good answer in the docs either. It's about the manytoone constraint one can put in a metadata class. What does this do ? I read I can provide it a table name and a field. So does this mean at the time of validation, e.g. the id is checked for its presence in this table ? Or can it do other things too ? I think I understand it does not allow one to restore related objects. That's something I need to do in the afterRestore() callback, right ?. But that leaves me with a bad feeling because it means I have to put database code in my simple pojo bean. Or can I solve this like the Metadata thing : add an extra class with a well defined name (MyBeanCallback e.g.) that handles the callbacks. How are you guys solving this ? Next thing is a select list that gets filled with the contents of a db table. Is the only way to accomplish this, adding an inList constraint with the ids and next add a resourcebundle ? I confess this is not that big a deal, but since Rife is about simplicity, maybe I am missing something here.

thanks a lot

Henk

BTW : I've decided to put my Rife progress on my blog at www.marsman-it.be .
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to