This content has been marked as final.
Show 1 reply
-
1. Re: problem with a4j:actionparam
tsurdilovic Feb 7, 2009 2:36 PM (in response to orkun)This test worked for me:
<h:form> <a4j:jsFunction name="setXCoord" reRender="xcoord"> <a4j:actionparam name="param1" value="88" assignTo="#{mediaBean.xx}" /> </a4j:jsFunction> </h:form> <h:form id="mediaBeanForm"> <a4j:mediaOutput element="img" cacheable="false" createContent="#{mediaBean.paint}" value="myimage.png" mimeType="image/jpeg" onclick="setXCoord();"> </a4j:mediaOutput> <h:outputText id="xcoord" value="#{mediaBean.xx}"/> </h:form>