I think you need to set: isJavascriptRedirectEnabled to true on the ERXRedirect.
D
--
David LeBer
Codeferous Software
On 2012-04-12, at 3:16 PM, James Cicenia wrote:
> 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
>
> James
>
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
>
> This email sent to [email protected]
_______________________________________________
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]