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

This email sent to [email protected]

Reply via email to