Jumping to and back from a D2W page.
Jumping to and back from a D2W page.
- Subject: Jumping to and back from a D2W page.
- From: James Cicenia <email@hidden>
- Date: Wed, 23 Jan 2013 13:11:45 -0600
I have a page and I want to have a button that takes the user to a D2WEditPage
I do the following:
public WOComponent editIOSSetup(){ EditPageInterface epi = D2W.factory().editPageForEntityNamed("AppConfigIOS", session()); epi.setObject(app.iosAppConfig()); R2D2PPAppConfigNextPageDelegate nextPageDelegate = new R2D2PPAppConfigNextPageDelegate(this.name()); nextPageDelegate.setApp(app); epi.setNextPageDelegate(nextPageDelegate); return (WOComponent)epi; }
But my app loses its EditingContext when passed into my delegate.
Why is that and what is the proper way to "return".
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