Hi all,

how do you catch events triggered by radio choice changes? If you
simply add the ajaxformcomponentupdatingbehavior to the radiochoice,
the span which is wrapping the radios is instrumented instead of the
radios themselves:

 <span id="sex24" event="var
wcall=wicketAjaxPost('registration?wicket:interface=:0:registrationForm:sex::IBehaviorListener:0',
wicketSerialize(document.getElementById('sex24')), function() { },
function() { });" wicket:id="sex">
<input name="sex" type="radio" value="0" id="sex_0"/>
<input name="sex" type="radio" value="1" id="sex_1"/>
</span>

Cheers,
Carlos

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to