隨筆-295  評(píng)論-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.

          ? 簡(jiǎn)單的適配器獲取域或者是對(duì)象綁定狀態(tài), 同樣適用于模板。
          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.
          顯然,對(duì)象的狀態(tài)表示(例如錯(cuò)誤是對(duì)象級(jí)的而不是域級(jí)別的)沒(méi)有表達(dá)式或者值,而是只有錯(cuò)誤碼和消息

          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.


          大盤預(yù)測(cè) 國(guó)富論
          posted on 2007-09-11 11:00 華夢(mèng)行 閱讀(256) 評(píng)論(0)  編輯  收藏 所屬分類: Spring
          主站蜘蛛池模板: 闽侯县| 安仁县| 滦南县| 松江区| 崇义县| 南安市| 辽宁省| 呼和浩特市| 德安县| 旬阳县| 法库县| 浦城县| 赞皇县| 高密市| 莱西市| 屏南县| 金坛市| 宜黄县| 龙井市| 海伦市| 尤溪县| 苏州市| 宽城| 潞西市| 十堰市| 桦南县| 平遥县| 阿克陶县| 固原市| 新兴县| 洪泽县| 贞丰县| 泌阳县| 柳林县| 武城县| 中西区| 密山市| 泉州市| 南漳县| 烟台市| 永川市|