• 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:02:15 -0700

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

On May 29, 2012, at 3:30 PM, Paul Hoadley wrote:

Hi Ramsey,

On 30/05/2012, at 1:10 AM, Ramsey Gurley wrote:

A create page should have an object. Depending on how you created the page, you may have forgotten to set the object though.

I've just modified the MainNavigationController class that ships with the ModernLook template.  Eventually this gets called:

EditPageInterface epi = D2W.factory().editPageForNewObjectWithEntityNamed(entityName, session());

That should do it, shouldn't it?


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

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