I'm using rife crud. I have many tables and not all of them are mapped
to java classes.
But i want user to have ability to change crud entities which have FK
to not mapped tables.

So i write  such metadata code:

addConstraint(new
ConstrainedProperty("activity_type_id").editable(true).
                listed(true).notNull(true)
                .manyToOne("activity_type", "activity_type_id"));

And it doesn't work - drop down with id selection is empty.
But when i use manyToOne  to entites not tables - it works:

addConstraint(new
ConstrainedProperty("vertical_cluster_id").notNull(false).
                listed(true).manyToOne(vertical_cluster.class,
"vertical_cluster_id"));

So is it a bug or feature - that manyToOne to table doesn't work in
CRUD?

Thank's

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to