• 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: Selectors for enum types?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W: Selectors for enum types?


  • Subject: Re: D2W: Selectors for enum types?
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 29 May 2012 16:41:22 -0700

Oh, sorry. Misread the method name. I read it as editPageWithEntityNamed.  Yes, your object should exist. What's the stack trace again?

On May 29, 2012, at 4:32 PM, Paul Hoadley wrote:

Hi Ramsey,

On 30/05/2012, at 8:32 AM, Ramsey Gurley wrote:

That just creates the edit page. I believe you still need to epi.setObject().

I can't believe I'm doubting a D2W guru, but are you _sure_?  :-)

http://webobjects.mdimension.com/javadoc/WebObjects/5.4/com/webobjects/directtoweb/D2W.html#editPageForNewObjectWithEntityNamed(java.lang.String, com.webobjects.appserver.WOSession)

"Creates a new object and returns an edit page..."  It's creating the object, not me.  In any case, if I remove the enum attribute from displayPropertyKeys, it creates a new EO just fine without calling setObject() anywhere.  Is there something special about ERMODWizardCreationPage?


-- 
Paul Hoadley
http://logicsquad.net/




 _______________________________________________
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: Selectors for enum types?
      • From: Paul Hoadley <email@hidden>
References: 
 >D2W: Selectors for enum types? (From: Paul Hoadley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Ramsey Gurley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Paul Hoadley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Ramsey Gurley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Paul Hoadley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Ramsey Gurley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Paul Hoadley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Ramsey Gurley <email@hidden>)
 >Re: D2W: Selectors for enum types? (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: D2W: Selectors for enum types?
  • Next by Date: Re: D2W: Selectors for enum types?
  • Previous by thread: Re: D2W: Selectors for enum types?
  • Next by thread: Re: D2W: Selectors for enum types?
  • Index(es):
    • Date
    • Thread