Hi,
I have a simple html table and I'd like to have a row clicking event fire up a client side javascript function as well as a4j:jsFunction which calls a method in my bean. How can I achieve this?
I know that I can call a client side javascript like
<tr onclick="callingJavaScriptHere()"> <td></td> </tr>
you could pass a parameters defining your call like:
onclick="callingJavaScriptHere(param1,param2)"
and nest next params to JSfunction:
4j:actionparam name="p1"
a4j:actionparam name="p2"
then expose the params in action from the request parameters map.