Re: AjaxModalDialog.close(context()) being ignored
Re: AjaxModalDialog.close(context()) being ignored
- Subject: Re: AjaxModalDialog.close(context()) being ignored
- From: Timo Hoepfner <email@hidden>
- Date: Wed, 2 Feb 2011 17:45:43 +0100
Am 02.02.2011 um 06:21 schrieb Paul Hoadley:
SuccessTextEmail component =
ERXApplication.erxApplication().pageWithName(SuccessTextEmail.class);
This will "pollute" the current context. Try
ERXApplication.erxApplication().pageWithName(SuccessTextEmail.class,
(WOContext) context().clone())
or
ERXApplication.erxApplication().pageWithName(SuccessTextEmail.class,
(WOContext) ERXWOContext.currentContext().clone())
instead.
Timo
_______________________________________________
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