You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Imran Amajd <mr...@gmail.com> on 2007/10/17 13:18:54 UTC

how to create Listener on Checkbox??

hello everybody,


I am developing a page with list of records starting with checkbox against
each record.

I want to attach a listener when i click a checkbox and pass it an argument
of int type. 

it should be something like:

<input type="checkbox" onclick="onClickListener" parameters="List.rowIndex">

//java code
public void onClickListener(int index)
{
      .......
}

i have tried eventListener but it does not work well, is there any other
solution??

Thanks..
-- 
View this message in context: http://www.nabble.com/how-to-create-Listener-on-Checkbox---tf4639905.html#a13251616
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org