I added a <a4j:form> in there - that got the parameter set. Now I just need to get rid of the ugly flicker/repaint.
Do I need to send all the images to the client and put them in a list of divs with all hidden except one (or something like that?). The number of images is probably reasonable enough to do that although that may force some constraints on me that I don't have right now.
anyone? I"m really not sure what direction to take here.
you messed too many of controls there.. :)
If you need to update part of the page just use a4j:commandLink instead of s:link with support inside. Current design is wrong. structure should be like:
<a4j:outputPanel id="image"/> <h:graphicImage rendered=""/> </a4j:outputPanel> <dataList> <a4j:commandLink action=".." reRender="image"> <a4j:actionparam...> <h:draphicImage src="..thumbnail"> </a4j:commandLink> </dataList>
Also if you not need in some concrete markup produced by iteration component - just use a4j:repeat instead of dataList.