Adding eventlistener to checkbox

Hi,

I have a problem with jsf.

I try to add onclick listener to a checkbox because I want to produce html code like this:

<input name="_id1:_id13" value="Altro" type="checkbox" onclick="javascript:myfunction();">

If I add onclick to the selectitem inside selectmanycheckbox I get an exception.

Could someone help me?

Thanks in advance P.

Message was edited by:

ponzetti

[431 byte] By [ponzettia] at [2007-11-27 5:08:00]
# 1
1 - You might have more luck in the JSF forum than the JSP one :-)2 - What is the exception that you get? A java exception or a javascript error?3 - onclick is always javascript, you don't need to specify "javascript:" in this case. it should be just onclick="myfunction();"
evnafetsa at 2007-7-12 10:27:20 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...