六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 43|回复: 0

Richfaces 重点技术精讲

[复制链接]

升级  20%

2

主题

2

主题

2

主题

童生

Rank: 1

积分
10
 楼主| 发表于 2013-1-29 11:42:36 | 显示全部楼层 |阅读模式
转载 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>  
  • .....   
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表