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 周銳 閱讀(300) 評論(0)  編輯  收藏 所屬分類: TIBCO
          主站蜘蛛池模板: 河曲县| 缙云县| 双峰县| 中卫市| 新津县| 凤凰县| 岑巩县| 清苑县| 咸宁市| 忻城县| 前郭尔| 邯郸县| 仪征市| 长沙市| 绵竹市| 蒙阴县| 武宣县| 成武县| 霞浦县| 晋城| 岗巴县| 边坝县| 银川市| 临沧市| 屯昌县| 霍山县| 阿鲁科尔沁旗| 克拉玛依市| 静海县| 玉树县| 大田县| 名山县| 门头沟区| 封丘县| 巧家县| 澳门| 平阴县| 谢通门县| 饶阳县| 东海县| 宁阳县|