This content has been marked as final.
Show 3 replies
-
1. Re: rich:datalist a4j actionparm
ax123man Apr 9, 2009 5:06 PM (in response to ax123man)I added a <a4j:form> in there - that got the parameter set. Now I just need to get rid of the ugly flicker/repaint.
-
2. Re: rich:datalist a4j actionparm
ax123man Apr 9, 2009 5:28 PM (in response to ax123man)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. -
3. Re: rich:datalist a4j actionparm
ilya_shaikovsky Apr 10, 2009 4:43 AM (in response to ax123man)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.