• 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 and checkboxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AjaxObserveField and checkboxes


  • Subject: AjaxObserveField and checkboxes
  • From: Joe Little <email@hidden>
  • Date: Wed, 04 May 2011 10:39:36 -0700

I have some actions taken from an AjaxModalDialog, so it would figure
that I need to use an AjaxObserveField to monitor checkboxes to change
those values, as otherwise they are never received due to the AMD.
What I've tried after reading the docs
(http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/ajax/AjaxObserveField.html)
leads me to this, but I'm not getting the togglePromoteWithAssign to
fire.


Here's my html:

  <span id="promoteAssign"><webobject
name="PromoteWithAssignmentsCheckBox"/> with
Assignments</span><webobject name="PromoteAssignObserveField"/>

and the wod:

PromoteAssignObserveField: AjaxObserveField {
	observeFieldID = "promoteAssign";
	action = togglePromoteWithAssign;
}

PromoteWithAssignmentsCheckBox: WOCheckBox {
	checked = promoteWithAssignments;
}
 _______________________________________________
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 and checkboxes
      • From: Johann Werner <email@hidden>
  • Prev by Date: Re: ERRest errors as json?
  • Next by Date: Re: AjaxObserveField and checkboxes
  • Previous by thread: Re: ERRest errors as json?
  • Next by thread: Re: AjaxObserveField and checkboxes
  • Index(es):
    • Date
    • Thread