-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a databound radiogroup that I want to save its value only when I click the page's Save button. I've added save-when to the radiogroup like this:
<window ....> <grid ...> <rows> <row> <label value="Gender" /> <radiogroup id="genderRG" selectedItem="@{personDetailsView$composer.person.gender,save-when='personDetailsSaveBtn.onClick'}" > <radio label="Male" value="M" /> <radio label="Female" value="F" /> </radiogroup> </row> </rows> ... ... <button id="personDetailsSaveBtn" label="Save" forward='onOK' width="75px" /> </window>
However, when I click any item in the radiogroup, an AJAX POST is sent to the server. This is easily seen using Firebug's Net panel. That same technique has worked for other input elements. Has anyone else experienced radiogroups ignoring the save-when option?
(I've created a bug report at Databound radiogroup issue )
Thanks for any assistance.
Chris
This issue is fixed already.
Asked: 2011-04-11 12:14:30 +0800
Seen: 334 times
Last updated: Jun 22 '11