小熊泡泡

          常用鏈接

          統計

          最新評論

          spring ajax 幾個常用的Action功能介紹

          1.AppendContentAction 
          SimpleText text = new SimpleText("tes內容")
          AppendContentAction action = new AppendContentAction("num", text);
          num 頁面元素的id,text就是文本內容
          功能:在指定的元素中添加文本內容

          2.ReplaceContentAction
          SimpleText text = new SimpleText("tes內容")
          ReplaceContentActionaction = new ReplaceContentAction("num", text);
          num 頁面元素的id,text就是文本內容
          功能:在指定的元素中替換其中的文本內容

          3.RemoveContentAction
          ReplaceContentActionaction = new ReplaceContentAction("num");
          num 頁面元素的id,text就是文本內容
          功能:在指定的元素中刪除元素中的內容

          4.replaceElement
           InputField field = new InputField("replaced", "Replaced", InputField.InputType.TEXT);
           ReplaceElementAction action = new ReplaceElementAction("toReplace", field);
          功能

          posted on 2007-04-23 19:26 小熊泡泡 閱讀(469) 評論(1)  編輯  收藏

          評論

          # re: spring ajax 幾個常用的Action功能介紹 2009-03-21 12:41 leade

          學習  回復  更多評論   


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 大悟县| 盘锦市| 青岛市| 龙州县| 紫金县| 乌拉特后旗| 开鲁县| 高清| 潞城市| 济阳县| 紫金县| 兴宁市| 江津市| 雅江县| 永顺县| 进贤县| 渑池县| 涟源市| 诸暨市| 连山| 盐城市| 察雅县| 广东省| 宾阳县| 淮阳县| 栾城县| 靖远县| 安顺市| 始兴县| 汤原县| 盐源县| 芮城县| 通城县| 大荔县| 固阳县| 台安县| 安阳市| 上杭县| 连江县| 天全县| 田林县|