I have the following code working, the objective is simple: execute the action, then open the modalpanel, it's working, but the action is only executed one time, after that the modalpanel is opened without the action being executed.
<h:form>
<ui:repeat id="al11" var="albumslistvalue1"
value="#{AlbumDetailBean.getAlbumImagesList()}">
<a4j:commandLink id="link" action="#{AlbumDetailBean.mudaIdatual()}"
reRender="link, panel"
oncomplete="javascript:#{rich:component('panel')}.show();">
<f:param value="#{albumslistvalue1.id}" name="idfotoatual"/>
<h:graphicImage id="image"
url="#{albumslistvalue1.albumimagename}"/>
</a4j:commandLink>
</ui:repeat>
</h:form>
I'm stuck on this for a long time, any ideas on what I'm doing wrong or maybe forgetting?