AjaxObserveField and checkboxes
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