My crash is caused indirectly by the following rule where I am saying "let the user pick from a list of all Folder objects, instead of having to type a matching string when querying for a Note object":

lhs: (task = 'query' and entity.name = 'Note' and propertyKey = 'folder')
Class: com.webobjects.directtoweb.Assignment
Key: componentName
Value: "D2WEditToOneRelationship"

With this rule in place, I get the crash IF I DON'T SELECT ANY FOLDER in the list. If I do pick a Folder obect, or pick "- none -" from the list, the query runs ok.

So my next question, is there another rule I can apply to ensure the "- none -" option is selected in a D2WEditToOneRelationship as a default? Is this documented somewhere?

Thanks
John


On 18 Jan 2008, at 13:21, John Pollard wrote:

Dave,
Yup, my user.d2wmodel was causing the crash. The Rule Modeler let me easily untick all rules except essential ones and try again and it worked. I could then add back rules to get the styling as needed. Rule Modeler didn't tell me that there was something wrong but it was exactly what I needed. Thank you very much, great result.
John

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to