• 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
Re: D2W question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W question


  • Subject: Re: D2W question
  • From: Ramsey Gurley <email@hidden>
  • Date: Thu, 21 Aug 2008 12:29:10 -0400


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

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.

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: D2W question
      • From: Guido Neitzer <email@hidden>
References: 
 >Re: D2W question (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Use of finalize methods in WO
  • Next by Date: D2W and regular (non EO) objects
  • Previous by thread: Re: D2W question
  • Next by thread: Re: D2W question
  • Index(es):
    • Date
    • Thread