• 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
AjaxObserveField on the radio button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AjaxObserveField on the radio button?


  • Subject: AjaxObserveField on the radio button?
  • From: Yung-Luen Lan <email@hidden>
  • Date: Sat, 21 Aug 2010 16:16:18 +0800

Hi,

I try to use AjaxObserveField to monitor the change of radio button.
However, it's not working.
Here is the code to demonstrate the problem:

<wo:radio value = "option1 selection = "$radioValue" id="opt1" name="radio1" />
<wo:radio value = "option2" selection = "$radioValue" id="opt2" name="radio1" />

<wo:radio checked = "$option3" id="opt3" name="radio2" />
<wo:radio checked = "$option4" id="opt4" name="radio2" />

<wo:submit action = "$update" value="update" />

<auc id="auc">

<wo:str value = "$radioValue"/>
<wo:str value = "$option3"/>
<wo:str value = "$option4"/>

<aof observeFieldID = "opt1" updateContainerID = "auc" action = "$update" />
<aof observeFieldID = "opt2" updateContainerID = "auc action = "$update" />
<aof observeFieldID = "opt3" updateContainerID = "auc" action = "$update" />
<aof observeFieldID = "opt4" updateContainerID = "auc action = "$update" />

</auc>

No matter how I click the radio button, it won't change the value of
radioValue, option3 and option4 unless I click the submit button.
I want to update the AUC when user change the radio selection
immediately. Is there any way using AOF to accomplish that?

Thanks.

Regards,
yllan
 _______________________________________________
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: AjaxObserveField on the radio button?
      • From: Farrukh Ijaz <email@hidden>
  • Prev by Date: Re: WRReporting and DRGrouping - reports grouped by day, week and month
  • Next by Date: Re: AjaxObserveField on the radio button?
  • Previous by thread: This is a test.....
  • Next by thread: Re: AjaxObserveField on the radio button?
  • Index(es):
    • Date
    • Thread