• 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: using ajax in a D2W app??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using ajax in a D2W app??


  • Subject: Re: using ajax in a D2W app??
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 11 Mar 2015 09:56:09 -0700

You’re wrapping the observe field with the popup button? Isn’t that supposed to be the other way around?

On Mar 11, 2015, at 9:17 AM, Theodore Petrosky <email@hidden> wrote:

> Is there some secret? I just want to fire a method when the user changes a popup. so I did everything I normally did in a regular app.
>
> I get the WOPopupButton an id, and set up an AjaxObserveField to watch the popup.:
>
> <webobject name = "WOForm">
> <webobject name = "thePopupButton"><webobject name = "AEObserveField"></webobject></webobject>
> <webobject name = "AEUpdateComponent">
> the person is: <wo:WOString value = "$selectedPerson.fullName"/>
> </webobject>
> </webobject>
>
> thePopupButton : WOPopUpButton {
>  id = "AEFieldID";
>  list = accountExecList;
>  item = thePerson;
>  selection = selectedPerson;
>  displayString = thePerson.fullName;
>  noSelectionString = "No Person Selected";
> }
>
> AEObserveField : AjaxObserveField {
> 	observeFieldID = "AEFieldID";
> 	updateContainerID = "AEDiv1";
> 	action = mainPopupAction;
> 	fullSubmit = true;
> }
>
> AEUpdateComponent : AjaxUpdateContainer {
> 	id = "AEDiv1";
> }
> WOForm : WOForm {
>  multipleSubmit = "true";
> }
>
> Does anyone see what I am missing? the ajax framework is there, and this is a Modern D2W app. I thought it was using ajax in places, so is there something I need to do to make it available?
> _______________________________________________
> 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


References: 
 >using ajax in a D2W app?? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: using ajax in a D2W app??
  • Next by Date: Values in URL for WOCheckBox?
  • Previous by thread: Re: using ajax in a D2W app??
  • Next by thread: Values in URL for WOCheckBox?
  • Index(es):
    • Date
    • Thread