amp@java

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            99 隨筆 :: 0 文章 :: 228 評論 :: 0 Trackbacks
          from http://forum.java.sun.com/thread.jspa?threadID=628910&messageID=3618808
          hello,

          first time i want to excuse my english language ( i love spanish :P );

          i pass a whole morning to found the solution: How to go to page 1 in a DataScroller ( tomahawk component ) when we execute a filter ??

          we need to binding the component instance in the backing bean ( manage bean )

          JSP PAGE :
          <t:dataScroller .... .... binding="MB.scroll" />

          MANAGE BEAN:
          private HTMLDataScroller scroll = null;

          ....
          ....
          getScroll....
          setScroll...

          ok, now we have the same instance of an object in "front" and "back".
          in my case, when a execute a filter i call the method executeFilter()

          public void executeFilter(){
          ...
          ...
          // this is the function for returning to page 1 in a dataScroller
          scroll.getUIDate.setFirst(0)
          ...
          ...
          }

          I Hope that can help every JSF crazy programmer :P

          bye...
          posted on 2006-06-14 09:37 amp@java 閱讀(2311) 評論(0)  編輯  收藏 所屬分類: JSF
          主站蜘蛛池模板: 永嘉县| 冷水江市| 昌江| 延安市| 新源县| 壤塘县| 广灵县| 乐东| 深水埗区| 鄯善县| 马关县| 蕉岭县| 即墨市| 邢台县| 陇西县| 沐川县| 腾冲县| 内乡县| 西乌珠穆沁旗| 兴业县| 望城县| 宿迁市| 竹山县| 中宁县| 伊金霍洛旗| 星座| 北碚区| 温宿县| 克山县| 松潘县| 天柱县| 吐鲁番市| 安溪县| 通山县| 鲁甸县| 蕉岭县| 平舆县| 南平市| 达拉特旗| 土默特右旗| 许昌市|