tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject cvs commit: jakarta-tapestry/doc/src/ComponentReference TextArea.html
Date Wed, 26 Mar 2003 19:48:48 GMT
hlship      2003/03/26 11:48:48

  Modified:    doc/src/ComponentReference TextArea.html
  Log:
  Remove rows and columns formal parameters from TextArea.
  
  Revision  Changes    Path
  1.5       +8 -33     jakarta-tapestry/doc/src/ComponentReference/TextArea.html
  
  Index: TextArea.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/TextArea.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TextArea.html	24 Mar 2003 20:41:43 -0000	1.4
  +++ TextArea.html	26 Mar 2003 19:48:48 -0000	1.5
  @@ -106,28 +106,8 @@
   			any value that comes up when the form is submitted is ignored.
           Corresponds to the "disabled" HTML attribute.</td>
   	 </tr>
  -   <tr>
  -		<td>columns</td>
  -		<td>integer</td>
  -		<td>in</td>
  -		<td>no</td>
  -		<td>&nbsp;</td>
  -		<td>The width of the textarea, in characters.  If zero, or unspecified
  -		    the value is left to the client browser to determine.
  -        Corresponds to the "cols" HTML attribute.
  -    </td> 
  -   </tr>
  -	 <tr>
  -		<td>rows</td>
  -		<td>integer</td>
  -		<td>in</td>
  -		<td>no</td>
  -		<td>&nbsp;</td>
  -		<td>The number of rows in the textarea. If
  -			unspecified or zero, then the value is left to the client browser to
  -			determine.  Corresponds to the "rows" HTML attribute.
  -    </td> 
  -   </tr>
  +
  +
   	</table><BR>Body: 
               <STRONG>removed</STRONG><BR>Informal parameters: 
               <STRONG>allowed</STRONG>
  @@ -156,12 +136,12 @@
     </table>
   <p>		
   
  -            <pre>
  +<pre>
   &lt;table valign="middle"&gt;
   &lt;form jwcid=&quot;@<a href="Form.html">Form</a>&quot; listener="ognl:listeners.formSubmit"&gt;
    &lt;tr&gt;
     &lt;td&gt;Your Comments&lt;/td&gt;
  -  &lt;td&gt;&lt;textarea jwcid="<span class="jwcid">@<a href="#">TextArea</a></span>"
value="ognl:comments" columns="ognl:columns" rows="ognl:rows"/&gt;&lt;/td&gt;
  +  &lt;td&gt;&lt;textarea jwcid="<span class="jwcid">commentsText</span>"
rows="5" cols="20"/&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr align="right"&gt;
     &lt;td colspan="2"&gt;&lt;input type="submit" value="Submit"/&gt;&lt;/td&gt;
  @@ -173,8 +153,6 @@
   public class CustomerCommentsPage extends BasePage {
       private final static String COMMENTS = "Please enter your comments here"; 
       private String comments = COMMENTS;
  -    private final int column = 20;
  -    private final int rows = 5;
   
       public void formSubmit(IRequestCycle requestCycle) {
           // Proccess customer comments
  @@ -187,17 +165,14 @@
           fireObservedChange("comments", value);
       }
   
  -    public int getColumns() { return columns; }
  -
  -    public int getRows() { return rows; }
  -
  -    protected void initialize() {
  +    public void detach() {
           comments = COMMENTS;
  +        super.detach();
       }        
   }
   </pre>
  -          </td>
  -        </tr></table>
  +
  + </td></tr></table>
   </td></tr>
   <tr>
    <td colspan="3"><hr></td>  
  
  
  

Mime
View raw message