• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I switch the parent page after submitting AMD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I switch the parent page after submitting AMD


  • Subject: Re: How do I switch the parent page after submitting AMD
  • From: David LeBer <email@hidden>
  • Date: Thu, 12 Apr 2012 15:41:47 -0400

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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
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

  • Follow-Ups:
    • Re: How do I switch the parent page after submitting AMD
      • From: James Cicenia <email@hidden>
References: 
 >How do I switch the parent page after submitting AMD (From: James Cicenia <email@hidden>)
 >Re: How do I switch the parent page after submitting AMD (From: Johann Werner <email@hidden>)
 >Re: How do I switch the parent page after submitting AMD (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Website Hijacked
  • Next by Date: Re: Website Hijacked
  • Previous by thread: Re: How do I switch the parent page after submitting AMD
  • Next by thread: Re: How do I switch the parent page after submitting AMD
  • Index(es):
    • Date
    • Thread