Sealyu

--- 博客已迁移至: http://www.sealyu.com/blog

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  618 随笔 :: 87 文章 :: 225 评论 :: 0 Trackbacks
在rich:tree中如果想要在页面中初始化tree的展开和选中状态或者在页面更改后返回时保持之前的状态,
可以设置tree的adviseNodeOpened 和 adviseNodeSelected属性。
adviseNodeOpened false false javax.el.MethodExpression
(signature must match java.lang.Boolean adviseNodeOpened(org.richfaces.component.UITree))
MethodBinding pointing at a method accepting an org.richfaces.component.UITree with return of java.lang.Boolean type. If returned value is: java.lang.Boolean. TRUE, a particular treeNode is expanded; java.lang.Boolean.FALSE, a particular treeNode is collapsed; null, a particular treeNode saves the current state
adviseNodeSelected false false javax.el.MethodExpression
(signature must match java.lang.Boolean adviseNodeSelected(org.richfaces.component.UITree))
MethodBinding pointing at a method accepting an org.richfaces.component.UITree with return of java.lang.Boolean type. If returned value is: java.lang.Boolean. TRUE, a particular treeNode is selected; java.lang.Boolean.FALSE, a particular treeNode is unselected; null, a particular treeNode saves the current state


posted on 2009-08-13 14:51 seal 阅读(949) 评论(0)  编辑  收藏 所属分类: Seam

只有注册用户登录后才能发表评论。


网站导航: