• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
more rules help..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: How do I style ERXD2WList
  • Next by Date: answered my own rule question
  • Previous by thread: How do I style ERXD2WList
  • Next by thread: answered my own rule question
  • Index(es):
    • Date
    • Thread