Re: How do I switch the parent page after submitting AMD
Re: How do I switch the parent page after submitting AMD
- Subject: Re: How do I switch the parent page after submitting AMD
- From: James Cicenia <email@hidden>
- Date: Thu, 12 Apr 2012 14:16:05 -0500
Hmmm, i am getting no submission still.
I launch a standard AMD from AMDO. The following is my AjaxSubmitButton bindings:
SubmitBtn: AjaxSubmitButton { action = saveAndSubmitChanges; value = "Save"; name = "SaveAndSubmit"; onClick = "Element.show('busy1')"; id = "wiz-submit"; onComplete = "function(x){Element.hide('busy1')}"; }
And this is the basic action method:
CharterEdit nextPage = (CharterEdit) pageWithName("CharterEdit"); EOEditingContext peerEC = ERXEC.newEditingContext(); nextPage.setEditingContext(peerEC); nextPage.setItem( theNewProjectItem);
ERXRedirect redirect = (ERXRedirect)pageWithName(ERXRedirect.class.getName()); redirect.setComponent(nextPage); return redirect ;
Anything obvious? Thanks
On Apr 12, 2012, at 1:06 PM, Johann Werner wrote: ERXRedirect |
_______________________________________________
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