Tapestry

          記錄學習Tapestry專用布格格。很多文章都轉載網絡。

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            20 隨筆 :: 0 文章 :: 4 評論 :: 0 Trackbacks

          03 2007 檔案

               摘要: All interactive programs provide two basic functions: obtaining user input and displaying the results. Web applications implement this behavior using two HTTP methods: POST and GET respectively. This simple protocol gets broken when application returns web page in response to POST request. Peculiarities of POST method combined with idiosyncrasies of different browsers often lead to unpleasant user experience and may produce incorrect state of server application. This article shows how to design   閱讀全文
          posted @ 2007-03-30 23:03 Tapestry 閱讀(1639) | 評論 (0)  編輯

               摘要: http://ralf-realman.javaeye.com/blog/post/144266  閱讀全文
          posted @ 2007-03-30 22:43 Tapestry 閱讀(727) | 評論 (0)  編輯

               摘要: Tapestry的rewind一直是學習和使用Tapestry的難點,rewind是用來處理表單提交的,表單默認使用的是 DirectService來提交。在詳細介紹之前,先說明下此文中需要用到的一些概念,首先是表單組件,我這里指的是指繼承自 AbstractFormComponent類的組件,例如:TextField、TextArea、Checkbox等,而不是具體的Form組件,表單組件使用時必須在Form組件中,這些組件在rewind時調用繼承自AbstractFormComponent的 rewindFormComponent來讀取數據,并將數據賦值給容器或者頁面。
          我們來看一下最簡單的TextField組件,組件定義如下   閱讀全文
          posted @ 2007-03-30 22:32 Tapestry 閱讀(472) | 評論 (0)  編輯

               摘要: 1. iframe所引用的頁面類實現IExternalPage接口和activateExternalPage方法

          2. 持有iframe的頁面類中實現一個getIframeRenderer方法:  閱讀全文
          posted @ 2007-03-22 19:05 Tapestry 閱讀(597) | 評論 (0)  編輯

          主站蜘蛛池模板: 荣昌县| 贵州省| 西乌| 滕州市| 永清县| 闸北区| 潜江市| 容城县| 兴山县| 达日县| 金湖县| 定南县| 安阳市| 云龙县| 泸定县| 峨眉山市| 北川| 甘洛县| 蓝田县| 安陆市| 宿松县| 乐平市| 昔阳县| 赞皇县| 札达县| 贵州省| 卢湾区| 遵化市| 枝江市| 新昌县| 兴海县| 嘉祥县| 星座| 东明县| 桓仁| 兴化市| 广东省| 克拉玛依市| 乳山市| 浦县| 姚安县|