• 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
Where D2W does it "Create" a new object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where D2W does it "Create" a new object?


  • Subject: Where D2W does it "Create" a new object?
  • From: James Cicenia <email@hidden>
  • Date: Wed, 27 Jan 2010 14:15:41 -0600

Hello -


I am trying to use my custom page for a "CreateObject" type operation.
However, when I use my custom page there is no temporary new object.

I am using a direction action so do I have to put a CreateAndInsert there?
IF so, how do I pass it to my page:

public WOActionResults CreateFestivalAction() {
    ((Session)session()).currentFestival = (Festival) EOUtilities.createAndInsertInstance(session().defaultEditingContext(), "Festival");
      return D2W.factory().pageForConfigurationNamed ("CreateFestival", session());
      }
Thanks
James
 _______________________________________________
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: Where D2W does it "Create" a new object?
      • From: David LeBer <email@hidden>
  • Prev by Date: Re: FrontBase 5.1.1 is out!
  • Next by Date: Re: Where D2W does it "Create" a new object?
  • Previous by thread: Re: FrontBase 5.1.1 is out!
  • Next by thread: Re: Where D2W does it "Create" a new object?
  • Index(es):
    • Date
    • Thread