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/07/16 01:39:59 UTC

cvs commit: jakarta-tapestry/framework/src/java/org/apache/tapestry/form Submit.jwc

hlship      2005/07/15 16:39:59

  Modified:    .        status.xml
               framework/src/documentation/content/xdocs/tapestry/ComponentReference
                        Submit.xml
               framework/src/java/org/apache/tapestry/form Submit.jwc
  Log:
  TAPESTRY-405: Submit component should deprecate its label parameter
  
  Revision  Changes    Path
  1.163     +1 -0      jakarta-tapestry/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/status.xml,v
  retrieving revision 1.162
  retrieving revision 1.163
  diff -u -r1.162 -r1.163
  --- status.xml	15 Jul 2005 23:15:17 -0000	1.162
  +++ status.xml	15 Jul 2005 23:39:58 -0000	1.163
  @@ -54,6 +54,7 @@
     <changes>
       <release version="4.0-beta-3" date="unreleased">
         <action type="fix" dev="HLS" fixes-bug="TAPESTRY-398" due-to="Jonas Maurus">HiveMind configuration error breaks the useage of the state: binding prefix</action>
  +      <action type="fix" dev="HLS" fixes-bug="TAPESTRY-405">Submit component should deprecate its label parameter</action>
       </release>
       <release version="4.0-beta-2" date="Jul 9 2005">
         <action type="fix" dev="HLS" fixes-bug="TAPESTRY-356">FormConditional extends BaseComponent but has no template</action>
  
  
  
  1.7       +1 -1      jakarta-tapestry/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Submit.xml
  
  Index: Submit.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Submit.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Submit.xml	21 May 2005 15:36:22 -0000	1.6
  +++ Submit.xml	15 Jul 2005 23:39:59 -0000	1.7
  @@ -73,7 +73,7 @@
     </tr>
   
      <tr>
  -		<td>label</td>
  +		<td>label <strong>(deprecated)</strong></td>
   		<td>String</td>
   		<td>in</td>
   		<td>no</td>
  
  
  
  1.11      +7 -1      jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Submit.jwc
  
  Index: Submit.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Submit.jwc,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Submit.jwc	23 Jun 2005 14:13:24 -0000	1.10
  +++ Submit.jwc	15 Jul 2005 23:39:59 -0000	1.11
  @@ -25,7 +25,13 @@
     Creates a labeled submit button within a form.
     </description>
   
  -  <parameter name="label" default-binding="literal"/>
  +  <parameter name="label" default-binding="literal" deprecated="true">
  +    <description>
  +      Deprecated in 4.0.  An alternate way to specify the value attribute,
  +      which is the label used on the button in the browser (as well as the
  +      value supplied in the query parameter on form submit).
  +    </description>
  +  </parameter>
     <parameter name="disabled" default-binding="ognl">
         <description>
             If true, then the component is disabled, which will be reflected in the
  
  
  

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