• 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: Triggering AjaxObserveField through javascript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Triggering AjaxObserveField through javascript


  • Subject: Re: Triggering AjaxObserveField through javascript
  • From: Taylor Hadden <email@hidden>
  • Date: Tue, 07 May 2013 09:38:30 -0400

Hi Tobias,

Do I literally call "<myAjaxID>Update()"?

Does the AjaxUpdateContainer need to be within a WOForm, or can it exist outside of it?

Thanks,
-Taylor

taylorchadden.com
@drizztmainsword





On May 6, 2013, at 3:17 AM, Tobias Janz <email@hidden> wrote:

Hi,

AjaxUpdateContainer with fullsubmit=true and id=yourUpdateContainerId
_javascript_ to call yourUpdateContainerIdUpdate()

Tobias

2013/5/2 Taylor Hadden <email@hidden>
Hi there,

I've got a series of WOPopUpButtons each with their own AjaxObserveField. They all have the same options and related to different objects. When manually manipulating pop-ups, everything works perfectly.

I've also got another WOPopPupButton that is used to set the other pop-ups all at once. I set the values through _javascript_, and the <selection> fields on the page update, however their values are not submitted through AjaxObserveField. I have tried manually firing the "onchange" event in _javascript_, but it doesn't work.

I had previously used the "observeFieldFrequency" attribute of AjaxObserveField to bypass this problem, but that causes issues with text fields (which are set up in the same manner).

So, how can I get the _javascript_ behind AjaxObserveField to update and submit these values?

Thanks,
-Taylor


taylorchadden.com
@drizztmainsword






 _______________________________________________
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: Triggering AjaxObserveField through javascript
      • From: Tobias Janz <email@hidden>
References: 
 >Triggering AjaxObserveField through javascript (From: Taylor Hadden <email@hidden>)
 >Re: Triggering AjaxObserveField through javascript (From: Tobias Janz <email@hidden>)

  • Prev by Date: Re: sub report (jasper) problem?
  • Next by Date: centos 6.2 - pulling my hair out
  • Previous by thread: Re: Triggering AjaxObserveField through javascript
  • Next by thread: Re: Triggering AjaxObserveField through javascript
  • Index(es):
    • Date
    • Thread