more rules help..
more rules help..
- Subject: more rules help..
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 07 Jan 2012 07:33:38 -0800 (PST)
ok it appears i am finally starting to grasp some of the ideas behind these rules. but here I am stuck.
I have an entity 'User' with an attribute 'isActive'. When I edit the user and display isActive it shows a text area with a number 1 (what I expect as it is a number boolean). I want to show a checkbox (checked is true, unchecked is false [reasonable?]).
i created a rule:
100 : (task = 'edit' and entity.name = 'User' and propertyKey = 'isActive') => componentName = ERD2WEditToManyRelationship [com.webobjects.directtoweb.Assignment],
the error:
Error: java.lang.IllegalStateException: Destination entity could not be retrieved from EO of bindings. Either set the "sourceObject" to an EO, provide the "sourceEntityName" and "relationshipKey", the "destinationEntityName" or the "possibleChoices" binding.
Reason: Destination entity could not be retrieved from EO of bindings. Either set the "sourceObject" to an EO, provide the "sourceEntityName" and "relationshipKey", the "destinationEntityName" or the "possibleChoices" binding.
Obviously, I missing binding something. but what and how?
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden