use RadioGroup and append it on all the Radio's instead of the group.
johan
On 1/22/07, Nino Wael <[EMAIL PROTECTED]> wrote:
Hi
I want to append something on my RadioChoice's onclick method. If I just
add the attributeappender then the base markup container gets appended:
<div wicket:id="radiochoice" onclick="showlayer"><input a></input></div>
Problem is that I have a sort of div layer that needs to be triggered once
the user clicks one of the radio's, and the above code gets triggered if the
user manages to click somewhere near the radio but outside the label and the
radio itself. In order for it to work I need to add an appender to the input
element:
<div wicket:id="radiochoice" ><input a onclick="showlayer"></input></div>
Then the script will only be run if the radios actually are clicket. Im
guessing that I need to use radio and radiogroup for this.
But it would be easier for me if I could just append the radio of the
radiochoice since we are already using this.
*-Nino***
-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user