This content has been marked as final.
Show 3 replies
-
1. Re: Ways to Zen
sergeysmirnov Apr 24, 2008 1:27 PM (in response to ziphyre)What are "reRender values"? There is no such term in the RichFaces
-
2. Re: Ways to Zen
ziphyre Apr 25, 2008 3:27 AM (in response to ziphyre)"SergeySmirnov" wrote:
What are "reRender values"? There is no such term in the RichFaces
Yep, my bad.
I mean when applying the reRender approach, there is generally a structure like this:
<a4j:commandLink .... reRender="testBlock" />
...
<h:panelGrid id="testBlock" >
...
</h:panelGrid>
But what if, suppose, I'd like to inject a custom block of code (in this case html and js) prepared on the server side inside a div as a ajax response, what should I do? -
3. Re: Ways to Zen
sergeysmirnov Apr 25, 2008 10:49 AM (in response to ziphyre)use a4j:outputPanel id="testBlock" layout="block" istead of DIV. It exactly generates DIV as output.