Re: D2W question
Re: D2W question
- Subject: Re: D2W question
- From: Ramsey Gurley <email@hidden>
- Date: Thu, 21 Aug 2008 16:26:29 -0400
On Aug 21, 2008, at 1:33 PM, Ramsey Gurley wrote:
On Aug 21, 2008, at 12:46 PM, Guido Neitzer wrote:
On 21.08.08 10:29, "Ramsey Gurley" <email@hidden> wrote:
Well, the manufacturer PropertyName displays in the wizard page,
there's just no control to edit the value. It's blank...
Then you need to specify which what component it should be displayed:
propertyName = 'manufacturer' => componentName = '
ERD2WEditToOneRelationship' [100]
Or
(task = 'edit' and not (smartRelationship.isToMany = 1)) =>
componentName =
'ERD2WEditToOneRelationship' [100]
There should be already something that does that in ERDirectToWeb.
But you
can try with that.
You know how to read / write these rules?
I entered a blanket *true* => isEntityEditable = true and one for
deletable as well. There's still no trash cans in the list view, no
way to delete or edit anything... just create and query. It's like
everything is read only except the wizard page and even
relationships
are uneditable there. I am using erprototypes.
Can you send me a screenshot so that I know where you are?
cug
Ok, making progress now .... I've been bitten by "the rules didn't
refresh" problem again :-/ I swear I refreshed the workspace!
Anyway, the original advice works. Now my two blanket rules give me
the trash cans and edit symbols, but attempting to create a product
throws an error. Looking at the error, I'm guessing I just need to
define a key on the entity that is used to identify the entity in
the editing control... ?? Or am I way off on that guess?
Just as an update, I discovered the cause of the crashes. I had the
rules
(task = 'edit' and not (smartRelationship.isToMany = 1)) =>
componentName = "ERD2WEditToOneRelationship"
propertyName = 'location' => componentName =
"ERD2WEditToOneRelationship"
in my rules file and some combination of those two was resulting in
the exceptions. Strangely, I had them disabled in RuleModeler, but
they were still taking effect. Deleting the rules solved the
exception, but I'm back to a blank area for setting my manufacturer
relationship.
Ramsey
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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