On Aug 21, 2008, at 11:47 AM, Guido Neitzer wrote:

On 21.08.08 01:36, "Ramsey Gurley" <[EMAIL PROTECTED]> 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.

Well, the manufacturer PropertyName displays in the wizard page, there's just no control to edit the value. It's blank...

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.

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.

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


(^_^) I wish.

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 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