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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]