Hello Helmut,

the page can rendered partially.

Can you describe your use case?

Regards

Bernd

H. Swaczinna wrote:
Hello Volker,

thanks for the tip, but this is not what I want. First, tc:command forces always a submit of the page, and second it doesn't work like documented.

    <tc:selectBooleanCheckbox id="nacherwerb"
      value="#{rechteController.nacherwerb}">
      <f:facet name="change">
        <tc:command 
onclick="javascript:alert('#{rechteController.nacherwerb}')"/>
      </f:facet>
    </tc:selectBooleanCheckbox>

The javascript code is not executed. Maybe onclick is not the
appropriate attribute for a change facet, but there no onchange
in tc:command.

I simply want to execute some javascript, when the checkbox is toggled.

Regards
Helmut


Hi Helmut,

please use a <f:facet name="change"> with a tc:command.

afaik the attribute is deprecated and will remvoed in a future release.

Regards,

 Volker

2007/1/11, H. Swaczinna <[EMAIL PROTECTED]>:
Hello,

the onchange attribute of tc:selectBooleanCheckbox has no effect.
It is not rendered into the HTML code. HTML allows onChange for
checkboxes.

Regards
Helmut


Reply via email to