jsf - ajax javascript call not working due to a <h:form> -
problem:
i have button action , ajax call js function javascript function not executed. when remove <h:form>
work perfectly. has idea why happens, , how fix it?
i use form.
code:
working:
<h:commandbutton id="dice" alt="würfel" image="resources/img/wuerfel0.png" action="#{spiel.dice()}" tabindex="4" title="würfel"> <f:ajax render="gameinfo" onevent="animate" /> </h:commandbutton>
not working:
<h:form> <h:commandbutton id="dice" alt="würfel" image="resources/img/wuerfel0.png" action="#{spiel.dice()}" tabindex="4" title="würfel"> <f:ajax render=":gameinfo" onevent="animate" /> </h:commandbutton> </h:form>
i tried realize commandlink, same problem!
Comments
Post a Comment