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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to