How to listen on HTML checkbox changes and invoke a backing bean method.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
dist/gfdeploy/javaee-onclick-invocation
javaee-onclick-invocation-ejb
javaee-onclick-invocation-war
nbproject
src/conf
README.md
build.xml

README.md

JavaEE Onclick Invocation

Simple demo to demonstrate how to "listen" on onclick or onchange events of HTML form checkbox elements and invoke a method in a backing bean once the "state" of the checkbox elements changes. The important parts are commented in the code.

This demo uses the GlassFish 4 JavaEE server and can be opened as a NetBeans 7 project.