You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2005/05/03 13:34:28 UTC

cvs commit: jakarta-tapestry/framework/src/java/org/apache/tapestry/valid RenderString.java

hlship      2005/05/03 04:34:28

  Modified:    .        status.xml
               framework/src/java/org/apache/tapestry/valid
                        RenderString.java
  Log:
  TAPESTRY-259: Validation error renderers should implement toString.
  
  Revision  Changes    Path
  1.93      +1 -0      jakarta-tapestry/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/status.xml,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- status.xml	3 May 2005 11:16:10 -0000	1.92
  +++ status.xml	3 May 2005 11:34:28 -0000	1.93
  @@ -73,6 +73,7 @@
         <action type="update" dev="HLS"> Upgrade to HiveMind 1.0-beta-1. </action>
         <action type="add" dev="HLS">Add cache attribute to &lt;parameter&gt; element.</action>
         <action type="add" dev="HLS">Add AppFuse as a related project. </action>
  +      <action type="fix" dev="HLS" fixes-bug="TAPESTRY-259"> Validation error renderers should implement toString. </action>
       </release>
       <release version="3.0.3" date="Mar 26 2005">
         <action type="fix" dev="PF" fixes-bug="TAPESTRY-278"> Fixes security flaw in asset service. </action>
  
  
  
  1.5       +5 -3      jakarta-tapestry/framework/src/java/org/apache/tapestry/valid/RenderString.java
  
  Index: RenderString.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/valid/RenderString.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RenderString.java	2 May 2005 14:18:37 -0000	1.4
  +++ RenderString.java	3 May 2005 11:34:28 -0000	1.5
  @@ -19,8 +19,8 @@
   import org.apache.tapestry.IRequestCycle;
   
   /**
  - * A wrapper around {@link String}that allows the String to be renderred. This is primarily used to
  - * present error messages.
  + * A wrapper around {@link String}&nbsp;that allows the String to be renderred. This is primarily
  + * used to present error messages.
    * 
    * @author Howard Lewis Ship
    */
  @@ -74,7 +74,9 @@
       }
   
       /**
  -     * Returns the string that would be rendered.
  +     * Returns the string that would be rendered. This is part of the contract for error renderers
  +     * used with validation ... must provide a user-presentable toString() that does not include any
  +     * markup.
        */
   
       public String toString()
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org