However, it seems that updates don't work correctly when using the AJAX-based p:commandLink (without update-attribute) to change the content, but the content is updated 1 request cycle late (meaning that the on the first time I click the commandLink the wizard content does not change, but on the second time it does).
I found a post explaining something that partial state saving should be disabled, but if I do that, then the results are even worse and the page layout gets corrupted completely.
The post: http://forums.java.net/jive/thread.jspa ... eID=375192
Here's the structure of the page in pseudo-JSF:
Code: Select all
<h:form>
(composite wizard component starts)
(some layout stuff inside a HTML table)
...
<ui:include src="#{cc.attrs.controller.currentStep.source}" />
...
(composite icon commandlink component)
<p:commandLink id="link" immediate="true"
styleClass="iconAction">
<h:graphicImage value="#{cc.attrs.image}" styleClass="image" />
</p:commandLink>
(/composite commandlink component)
(/table)
(/composite wizard component)
</h:form>