Sealyu

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

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks
          在rich:tree中如果想要在頁面中初始化tree的展開和選中狀態(tài)或者在頁面更改后返回時保持之前的狀態(tài),
          可以設置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 閱讀(956) 評論(0)  編輯  收藏 所屬分類: Seam
          主站蜘蛛池模板: 西林县| 如东县| 呈贡县| 当涂县| 晴隆县| 云龙县| 三台县| 鹤峰县| 永嘉县| 开阳县| 右玉县| 响水县| 东港市| 宣城市| 桑植县| 德格县| 体育| 新闻| 寿阳县| 盈江县| 息烽县| 安阳县| 灌南县| 杂多县| 玉门市| 宁武县| 读书| 秦安县| 云梦县| 行唐县| 博白县| 大同市| 湘阴县| 宁安市| 皮山县| 平遥县| 连云港市| 沅陵县| 江北区| 禄丰县| 白水县|