posts - 431,  comments - 344,  trackbacks - 0
          今天使用Select的時候,想在第一次顯示的時候,就把數據顯示出來。
          其實只要設置Select的value為你想要顯示的值,然后在調用Web Service中方法成功的時候使用repaint()就可以了!
          例如:
          service.ongetCountriesResultSuccess = function(objEvent) {
                 objEvent.target.getServer().getJSXByName("country").repaint();
                //var responseXML = objEvent.target.getInboundDocument();
                //objEvent.target.getServer().alert("Success","The service call was successful.");
          };

          jsx3.gui.Painted

          repaint()


          method repaint()
          Updates the view of this object by calling paint() and replacing the current view with the returned HTML. This method has no effect if this object is not currently displayed.

          Returns:

          {String} – the result of calling paint() or null if this object is not displayed.

          See Also:

          paint()
          posted on 2007-03-30 15:52 周銳 閱讀(299) 評論(0)  編輯  收藏 所屬分類: TIBCO
          主站蜘蛛池模板: 绥芬河市| 城固县| 霍林郭勒市| 正镶白旗| 介休市| 囊谦县| 宁都县| 蓬安县| 新巴尔虎右旗| 赫章县| 晋州市| 杭州市| 定襄县| 南平市| 尉氏县| 望奎县| 石台县| 宣武区| 沙田区| 思南县| 宁陵县| 青岛市| 清徐县| 白水县| 高密市| 万荣县| 武胜县| 五原县| 麻城市| 多伦县| 衡南县| 金塔县| 临海市| 东明县| 都安| 额尔古纳市| 县级市| 榆社县| 建湖县| 桐城市| 陈巴尔虎旗|