Richfaces 重点技术精讲
转载 richfaces 精讲http://hintcnuie.iteye.com/blog/127309
关键字: ajax4jsf richfaces 总结
<div class="blog_content">Ajax components attributes help RichFaces to expose its features. Most of the attributes have default values. Thus, you can start working with RichFaces without knowing the usage of these attribute. However, their usage allows to tune the required Ajax behavior very smoothly.
Re-Rendering
reRender is a key attribute. It allows to point to the area(s) on a page that should be updated as a response on Ajax interaction. The value of the reRender attribute is an id of the JSF component or an id list. This is a simple example:
<div class="dp-highlighter"><div class="bar">
[*]...
[*]<a4j:commandButton value="update" reRender="infoBlock"/>
[*] ....
[*]<h:panelGrid id="infoBlock">
[*] .....
[*]</h:panelGrid>
[*].....
页:
[1]