隨筆-295  評論-26  文章-1  trackbacks-0
          public class BindStatus
          extends Object
          		

          Simple adapter to expose the bind status of a field or object. Set as a variable both by the JSP bind tag and Velocity/FreeMarker macros.

          ? 簡單的適配器獲取域或者是對象綁定狀態, 同樣適用于模板。
          Obviously, object status representations (i.e. errors at the object level rather than the field level) do not have an expression and a value but only error codes and messages. For simplicity's sake and to be able to use the same tags and macros, the same status class is used for both scenarios.
          顯然,對象的狀態表示(例如錯誤是對象級的而不是域級別的)沒有表達式或者值,而是只有錯誤碼和消息

          Method Summary
          ?int doEndTag ()
          ???????????
          ?void doFinally ()
          ???????????
          protected ?int doStartTagInternal ()
          ??????????Called by doStartTag to perform the actual work.
          ?PropertyEditor getEditor ()
          ??????????Retrieve the PropertyEditor for the property that this tag is currently bound to.
          ?Errors getErrors ()
          ??????????Retrieve the Errors instance that this tag is currently bound to.
          ?String getPath ()
          ??????????Return the path that this tag applies to.
          ?String getProperty ()
          ??????????Retrieve the property that this tag is currently bound to, or null if bound to an object rather than a specific property.
          ?boolean isIgnoreNestedPath ()
          ??????????Return whether to ignore a nested path, if any.
          ?void setIgnoreNestedPath (boolean?ignoreNestedPath)
          ??????????Set whether to ignore a nested path, if any.
          ?void setPath (String?path)
          ??????????Set the path that this tag should apply.


          大盤預測 國富論
          posted on 2007-09-11 11:00 華夢行 閱讀(250) 評論(0)  編輯  收藏 所屬分類: Spring
          主站蜘蛛池模板: 库尔勒市| 安平县| 宁陕县| 绍兴市| 陵川县| 鹤壁市| 玛曲县| 宁强县| 上虞市| 会东县| 凌源市| 从化市| 永寿县| 崇文区| 衡东县| 兴仁县| 环江| 万全县| 城市| 呼和浩特市| 隆回县| 府谷县| 屯昌县| 新兴县| 荥阳市| 佳木斯市| 沁源县| 合作市| 饶平县| 义乌市| 台南市| 保康县| 涞源县| 丹江口市| 台州市| 红安县| 扎鲁特旗| 乐业县| 皮山县| 梨树县| 诸城市|