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 2003/03/26 20:52:47 UTC
cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry/form TextArea.jwc TextArea.java
hlship 2003/03/26 11:52:47
Modified: framework/src/org/apache/tapestry/form TextArea.jwc
TextArea.java
Log:
Remove rows and columns formal parameters from TextArea component.
Revision Changes Path
1.3 +1 -3 jakarta-tapestry/framework/src/org/apache/tapestry/form/TextArea.jwc
Index: TextArea.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/form/TextArea.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TextArea.jwc 17 Mar 2003 18:10:48 -0000 1.2
+++ TextArea.jwc 26 Mar 2003 19:52:47 -0000 1.3
@@ -13,8 +13,6 @@
<parameter name="value" type="java.lang.String" required="yes" direction="form"/>
<parameter name="disabled" type="boolean" direction="in"/>
- <parameter name="columns" type="int" direction="in"/>
- <parameter name="rows" type="int" direction="in"/>
<reserved-parameter name="name"/>
1.5 +1 -14 jakarta-tapestry/framework/src/org/apache/tapestry/form/TextArea.java
Index: TextArea.java
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/form/TextArea.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TextArea.java 23 Mar 2003 01:29:41 -0000 1.4
+++ TextArea.java 26 Mar 2003 19:52:47 -0000 1.5
@@ -110,15 +110,6 @@
if (isDisabled())
writer.attribute("disabled", "disabled");
- int rows = getRows();
- int columns = getColumns();
-
- if (rows != 0)
- writer.attribute("rows", rows);
-
- if (columns != 0)
- writer.attribute("cols", columns);
-
generateAttributes(writer, cycle);
String value = getValue();
@@ -130,11 +121,7 @@
}
- public abstract int getColumns();
-
public abstract boolean isDisabled();
-
- public abstract int getRows();
public abstract String getValue();