Re: D2W question
Re: D2W question
- Subject: Re: D2W question
- From: Guido Neitzer <email@hidden>
- Date: Thu, 21 Aug 2008 09:47:36 -0600
- Thread-topic: D2W question
On 21.08.08 01:36, "Ramsey Gurley" <email@hidden> wrote:
> I'm still trying to get D2W working and I'm not having very much
> luck. I start with a bare bones Wonder D2W app and a data model with
> 2 entities. Product <<--> Manufacturer. The to-one relationship to
> the Manufacturer is mandatory, so I create one of those first. When I
> try to create a product though, I am not given any way to select my
> newly created Manufacturer, so I cannot create a product.
You need to provide a "displayPropertyKeys" rule to get all the attributes
displayed in the order you like.
> I cannot edit or delete manufacturers once they are created either.
You should see an edit and a delete icon in the list of manufacturers. If
not, maybe create a rule:
pageConfiguration = 'ListManufacturer' => isEntityEditable = true [100]
Same of isEntityDeletable.
Not sure, whether that should be the default and can't check right now.
> I'm a little confused as to how I make anything editable, but I'm guessing
> the problem lies in my empty rules file.
Probably. There are some D2W tutorials on Stepwise, maybe they help to get
you started.
> I've been reading source and rules and scouring google, but I'm still not
> finding the magic rule(s) to make it work...
pageConfiguration = 'All' => makeItWorkRight = true [999]
cug
_______________________________________________
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
References: | |
| >D2W question (From: Ramsey Gurley <email@hidden>) |