You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by pf...@apache.org on 2005/01/27 06:35:51 UTC
cvs commit: jakarta-tapestry/framework/src/java/org/apache/tapestry/form Submit.jwc Radio.jwc ImageSubmit.jwc Select.jwc LinkSubmit.jwc Button.jwc Checkbox.jwc PropertySelection.jwc TextArea.jwc RadioGroup.jwc Upload.jwc
pferraro 2005/01/26 21:35:51
Modified: framework/src/java/org/apache/tapestry/form Submit.jwc
Radio.jwc ImageSubmit.jwc Select.jwc LinkSubmit.jwc
Button.jwc Checkbox.jwc PropertySelection.jwc
TextArea.jwc RadioGroup.jwc Upload.jwc
Log:
Updated to use 3.1 DTD.
Revision Changes Path
1.3 +6 -11 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Submit.jwc 6 Jan 2005 02:17:18 -0000 1.2
+++ Submit.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.Submit" allow-body="no">
@@ -25,18 +25,13 @@
Creates a labeled submit button within a form.
</description>
- <parameter name="label" type="java.lang.String" direction="in"/>
- <parameter name="disabled" type="boolean" direction="in"/>
+ <parameter name="label"/>
+ <parameter name="disabled"/>
<parameter name="selected"/>
- <parameter name="tag" type="java.lang.Object" direction="in"/>
- <parameter name="listener"
- type="org.apache.tapestry.IActionListener"
- direction="in"/>
+ <parameter name="tag"/>
+ <parameter name="listener"/>
<reserved-parameter name="name"/>
<reserved-parameter name="type"/>
-
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
</component-specification>
1.3 +4 -4 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Radio.jwc
Index: Radio.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Radio.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Radio.jwc 5 Jan 2005 23:17:13 -0000 1.2
+++ Radio.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.Radio" allow-body="no">
@@ -25,9 +25,9 @@
A single possible selection within a RadioGroup.
</description>
- <parameter name="value" type="java.lang.Object" direction="in"/>
+ <parameter name="value"/>
- <parameter name="disabled" type="boolean" direction="in"/>
+ <parameter name="disabled"/>
<reserved-parameter name="checked"/>
<reserved-parameter name="type"/>
1.3 +10 -28 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/ImageSubmit.jwc
Index: ImageSubmit.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/ImageSubmit.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ImageSubmit.jwc 6 Jan 2005 02:17:18 -0000 1.2
+++ ImageSubmit.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.ImageSubmit" allow-body="no">
@@ -25,52 +25,37 @@
Creates a clickable image within a form.
</description>
- <parameter name="image"
- type="org.apache.tapestry.IAsset"
- required="yes"
- direction="in">
+ <parameter name="image" required="yes">
<description>
Image used for the button.
</description>
</parameter>
- <parameter name="name"
- property-name="nameOverride"
- type="java.lang.String"
- direction="in"/>
+ <parameter name="name" property-name="nameOverride"/>
- <parameter name="disabledImage"
- type="org.apache.tapestry.IAsset"
- direction="in">
+ <parameter name="disabledImage">
<description>
Image used for the button, if disabled.
</description>
</parameter>
- <parameter name="disabled"
- type="boolean"
- direction="in"/>
+ <parameter name="disabled"/>
- <parameter name="point" type="java.awt.Point"/>
+ <parameter name="point"/>
- <parameter name="selected"
- type="java.lang.Object">
+ <parameter name="selected">
<description>
Property updated when the button is clicked.
</description>
</parameter>
- <parameter name="tag"
- type="java.lang.Object"
- direction="in">
+ <parameter name="tag">
<description>
Value used when updating the selected parameter.
</description>
</parameter>
- <parameter name="listener"
- type="org.apache.tapestry.IActionListener"
- direction="in">
+ <parameter name="listener">
<description>
Notified when the button is clicked.
</description>
@@ -79,8 +64,5 @@
<reserved-parameter name="type"/>
<reserved-parameter name="src"/>
<reserved-parameter name="border"/>
-
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
</component-specification>
1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Select.jwc
Index: Select.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Select.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Select.jwc 6 Jan 2005 02:17:18 -0000 1.2
+++ Select.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.Select">
@@ -25,12 +25,9 @@
Creates an HTML select populated with a number of options.
</description>
- <parameter name="multiple" type="boolean" direction="in"/>
- <parameter name="disabled" type="boolean" direction="in"/>
+ <parameter name="multiple"/>
+ <parameter name="disabled"/>
<reserved-parameter name="name"/>
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
-
</component-specification>
1.3 +5 -10 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/LinkSubmit.jwc
Index: LinkSubmit.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/LinkSubmit.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- LinkSubmit.jwc 6 Jan 2005 02:17:18 -0000 1.2
+++ LinkSubmit.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.LinkSubmit" allow-body="yes">
@@ -25,9 +25,7 @@
Creates a hyperlink that submits its enclosing form using JavaScript.
</description>
- <parameter name="listener"
- type="org.apache.tapestry.IActionListener"
- direction="in">
+ <parameter name="listener">
<description>
The listener is invoked during the rewind as the link component is encountered. This is
both attractive and dangerous when combined with a form. When the listener is
@@ -37,14 +35,11 @@
</description>
</parameter>
- <parameter name="disabled" type="boolean" direction="in"/>
+ <parameter name="disabled"/>
<parameter name="selected"/>
- <parameter name="tag" type="java.lang.Object" direction="in"/>
+ <parameter name="tag"/>
<reserved-parameter name="name"/>
<reserved-parameter name="href"/>
-
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
</component-specification>
\ No newline at end of file
1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Button.jwc
Index: Button.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Button.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Button.jwc 5 Jan 2005 23:17:13 -0000 1.2
+++ Button.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.Button" allow-body="no">
@@ -25,13 +25,10 @@
Creates a labeled button within a form.
</description>
- <parameter name="label" type="java.lang.String" direction="in"/>
- <parameter name="disabled" type="boolean" direction="in"/>
+ <parameter name="label"/>
+ <parameter name="disabled"/>
<reserved-parameter name="name"/>
<reserved-parameter name="type"/>
-
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
</component-specification>
1.3 +4 -10 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Checkbox.jwc
Index: Checkbox.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Checkbox.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Checkbox.jwc 6 Jan 2005 02:17:18 -0000 1.2
+++ Checkbox.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.Checkbox" allow-body="no">
@@ -25,16 +25,13 @@
Implements a checkbox within a Form.
</description>
- <parameter name="selected"
- type="boolean"
- required="yes"
- direction="form">
+ <parameter name="selected" required="yes">
<description>
The property read and updated by the Checkbox.
</description>
</parameter>
- <parameter name="disabled" type="boolean" direction="in">
+ <parameter name="disabled">
<description>
If true, then the checkbox will be disabled and any input from the checkbox
will be ignored.
@@ -45,7 +42,4 @@
<reserved-parameter name="checked"/>
<reserved-parameter name="name"/>
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
-
</component-specification>
1.3 +7 -19 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/PropertySelection.jwc
Index: PropertySelection.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/PropertySelection.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PropertySelection.jwc 6 Jan 2005 02:17:18 -0000 1.2
+++ PropertySelection.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.PropertySelection"
allow-body="no"
@@ -27,36 +27,24 @@
Creates an HTML select to choose a single property from a list of options.
</description>
- <parameter name="value" required="yes" type="java.lang.Object" direction="form"/>
+ <parameter name="value" required="yes"/>
- <parameter name="model"
- type="org.apache.tapestry.form.IPropertySelectionModel"
- required="yes"
- direction="in"/>
+ <parameter name="model" required="yes"/>
- <parameter name="disabled"
- type="boolean"
- direction="in"/>
+ <parameter name="disabled"/>
- <parameter name="renderer"
- type="org.apache.tapestry.form.IPropertySelectionRenderer"
- direction="in">
+ <parameter name="renderer">
<description>
An alternate rendered for the property selection.
</description>
</parameter>
- <parameter name="submitOnChange"
- type="boolean"
- direction="in">
+ <parameter name="submitOnChange">
<description>
Enables logic to submit containing form when value changes.
</description>
</parameter>
<reserved-parameter name="name"/>
-
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
</component-specification>
1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/TextArea.jwc
Index: TextArea.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/TextArea.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TextArea.jwc 5 Jan 2005 23:17:13 -0000 1.2
+++ TextArea.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.TextArea" allow-body="no">
@@ -25,13 +25,10 @@
A multi-line text area.
</description>
- <parameter name="value" type="java.lang.String" required="yes" direction="form"/>
+ <parameter name="value" required="yes"/>
- <parameter name="disabled" type="boolean" direction="in"/>
+ <parameter name="disabled"/>
<reserved-parameter name="name"/>
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
-
</component-specification>
1.3 +3 -6 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/RadioGroup.jwc
Index: RadioGroup.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/RadioGroup.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RadioGroup.jwc 5 Jan 2005 23:17:13 -0000 1.2
+++ RadioGroup.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.RadioGroup" allow-informal-parameters="no">
@@ -27,9 +27,6 @@
<parameter name="selected" required="yes"/>
- <parameter name="disabled" type="boolean" direction="in"/>
-
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
+ <parameter name="disabled"/>
</component-specification>
1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Upload.jwc
Index: Upload.jwc
===================================================================
RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Upload.jwc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Upload.jwc 5 Jan 2005 23:17:13 -0000 1.2
+++ Upload.jwc 27 Jan 2005 05:35:51 -0000 1.3
@@ -16,8 +16,8 @@
-->
<!DOCTYPE component-specification PUBLIC
- "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
- "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
+ "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
+ "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
<component-specification class="org.apache.tapestry.form.Upload" allow-body="no">
@@ -26,19 +26,16 @@
Allows a file to be uploaded as part of a form.
</description>
- <parameter name="file" type="org.apache.tapestry.request.IUploadFile" required="yes" direction="form">
+ <parameter name="file" required="yes">
<description>
Parameter updated with the information (filename and content) of the file
when the form is submitted.
</description>
</parameter>
- <parameter name="disabled" type="boolean" direction="in"/>
+ <parameter name="disabled"/>
<reserved-parameter name="type"/>
<reserved-parameter name="name"/>
- <property-specification name="name" type="java.lang.String"/>
- <property-specification name="form" type="org.apache.tapestry.IForm"/>
-
</component-specification>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: cvs commit:
jakarta-tapestry/framework/src/java/org/apache/tapestry/form Submit.jwc
Radio.jwc ImageSubmit.jwc Select.jwc LinkSubmit.jwc Button.jwc Checkbox.jwc
PropertySelection.jwc TextArea.jwc RadioGroup.jwc Upload.jwc
Posted by Mikaël Cluseau <nw...@nwrk.dyndns.org>.
Sorry, I'm a bit disappointed. This could lead to component classes only
to constrain the type of a parameter. On the other hand, it will avoid
errors between the class in Java and the template, which are run-time
errors, so I understand the great interest.
But I don't feel very well the fact that the parameter isn't typed where
it is declared. Is it a way to open the door to other programming
languages ? (Ruby, Python)
Any best practice to document the type of a parameter as in the current
documentation ?
Hope you see my point,
Best regards.
Le jeudi 27 janvier 2005 à 14:27 -0500, Howard Lewis Ship a écrit :
> It just makes the property of type java.lang.Object. If you care
> about type, you create an accessor method.
>
>
> On Thu, 27 Jan 2005 18:50:02 +0100, Mikaël Cluseau <nw...@nwrk.dyndns.org> wrote:
> > We don't even declare the component parameter's type? waa :-) But how
> > does Tapestry know it if we use BaseComponent?
> >
> > Le jeudi 27 janvier 2005 à 07:24 -0500, Howard Lewis Ship a écrit :
> > > That's the spirit!
> > >
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-tapestry/framework/src/java/org/apache/tapestry/form Submit.jwc Radio.jwc ImageSubmit.jwc Select.jwc LinkSubmit.jwc Button.jwc Checkbox.jwc PropertySelection.jwc TextArea.jwc RadioGroup.jwc Upload.jwc
Posted by Howard Lewis Ship <hl...@gmail.com>.
It just makes the property of type java.lang.Object. If you care
about type, you create an accessor method.
On Thu, 27 Jan 2005 18:50:02 +0100, Mikaël Cluseau <nw...@nwrk.dyndns.org> wrote:
> We don't even declare the component parameter's type? waa :-) But how
> does Tapestry know it if we use BaseComponent?
>
> Le jeudi 27 janvier 2005 à 07:24 -0500, Howard Lewis Ship a écrit :
> > That's the spirit!
> >
> >
> > On 27 Jan 2005 05:35:51 -0000, pferraro@apache.org <pf...@apache.org> wrote:
> > > pferraro 2005/01/26 21:35:51
> > >
> > > Modified: framework/src/java/org/apache/tapestry/form Submit.jwc
> > > Radio.jwc ImageSubmit.jwc Select.jwc LinkSubmit.jwc
> > > Button.jwc Checkbox.jwc PropertySelection.jwc
> > > TextArea.jwc RadioGroup.jwc Upload.jwc
> > > Log:
> > > Updated to use 3.1 DTD.
> > >
> > > Revision Changes Path
> > > 1.3 +6 -11 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.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- Submit.jwc 6 Jan 2005 02:17:18 -0000 1.2
> > > +++ Submit.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.Submit" allow-body="no">
> > >
> > > @@ -25,18 +25,13 @@
> > > Creates a labeled submit button within a form.
> > > </description>
> > >
> > > - <parameter name="label" type="java.lang.String" direction="in"/>
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > + <parameter name="label"/>
> > > + <parameter name="disabled"/>
> > > <parameter name="selected"/>
> > > - <parameter name="tag" type="java.lang.Object" direction="in"/>
> > > - <parameter name="listener"
> > > - type="org.apache.tapestry.IActionListener"
> > > - direction="in"/>
> > > + <parameter name="tag"/>
> > > + <parameter name="listener"/>
> > >
> > > <reserved-parameter name="name"/>
> > > <reserved-parameter name="type"/>
> > > -
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > >
> > > </component-specification>
> > >
> > > 1.3 +4 -4 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Radio.jwc
> > >
> > > Index: Radio.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Radio.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- Radio.jwc 5 Jan 2005 23:17:13 -0000 1.2
> > > +++ Radio.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.Radio" allow-body="no">
> > >
> > > @@ -25,9 +25,9 @@
> > > A single possible selection within a RadioGroup.
> > > </description>
> > >
> > > - <parameter name="value" type="java.lang.Object" direction="in"/>
> > > + <parameter name="value"/>
> > >
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > + <parameter name="disabled"/>
> > >
> > > <reserved-parameter name="checked"/>
> > > <reserved-parameter name="type"/>
> > >
> > > 1.3 +10 -28 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/ImageSubmit.jwc
> > >
> > > Index: ImageSubmit.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/ImageSubmit.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- ImageSubmit.jwc 6 Jan 2005 02:17:18 -0000 1.2
> > > +++ ImageSubmit.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.ImageSubmit" allow-body="no">
> > >
> > > @@ -25,52 +25,37 @@
> > > Creates a clickable image within a form.
> > > </description>
> > >
> > > - <parameter name="image"
> > > - type="org.apache.tapestry.IAsset"
> > > - required="yes"
> > > - direction="in">
> > > + <parameter name="image" required="yes">
> > > <description>
> > > Image used for the button.
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="name"
> > > - property-name="nameOverride"
> > > - type="java.lang.String"
> > > - direction="in"/>
> > > + <parameter name="name" property-name="nameOverride"/>
> > >
> > > - <parameter name="disabledImage"
> > > - type="org.apache.tapestry.IAsset"
> > > - direction="in">
> > > + <parameter name="disabledImage">
> > > <description>
> > > Image used for the button, if disabled.
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="disabled"
> > > - type="boolean"
> > > - direction="in"/>
> > > + <parameter name="disabled"/>
> > >
> > > - <parameter name="point" type="java.awt.Point"/>
> > > + <parameter name="point"/>
> > >
> > > - <parameter name="selected"
> > > - type="java.lang.Object">
> > > + <parameter name="selected">
> > > <description>
> > > Property updated when the button is clicked.
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="tag"
> > > - type="java.lang.Object"
> > > - direction="in">
> > > + <parameter name="tag">
> > > <description>
> > > Value used when updating the selected parameter.
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="listener"
> > > - type="org.apache.tapestry.IActionListener"
> > > - direction="in">
> > > + <parameter name="listener">
> > > <description>
> > > Notified when the button is clicked.
> > > </description>
> > > @@ -79,8 +64,5 @@
> > > <reserved-parameter name="type"/>
> > > <reserved-parameter name="src"/>
> > > <reserved-parameter name="border"/>
> > > -
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > >
> > > </component-specification>
> > >
> > > 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Select.jwc
> > >
> > > Index: Select.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Select.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- Select.jwc 6 Jan 2005 02:17:18 -0000 1.2
> > > +++ Select.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.Select">
> > >
> > > @@ -25,12 +25,9 @@
> > > Creates an HTML select populated with a number of options.
> > > </description>
> > >
> > > - <parameter name="multiple" type="boolean" direction="in"/>
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > + <parameter name="multiple"/>
> > > + <parameter name="disabled"/>
> > >
> > > <reserved-parameter name="name"/>
> > >
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > > -
> > > </component-specification>
> > >
> > > 1.3 +5 -10 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/LinkSubmit.jwc
> > >
> > > Index: LinkSubmit.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/LinkSubmit.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- LinkSubmit.jwc 6 Jan 2005 02:17:18 -0000 1.2
> > > +++ LinkSubmit.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.LinkSubmit" allow-body="yes">
> > >
> > > @@ -25,9 +25,7 @@
> > > Creates a hyperlink that submits its enclosing form using JavaScript.
> > > </description>
> > >
> > > - <parameter name="listener"
> > > - type="org.apache.tapestry.IActionListener"
> > > - direction="in">
> > > + <parameter name="listener">
> > > <description>
> > > The listener is invoked during the rewind as the link component is encountered. This is
> > > both attractive and dangerous when combined with a form. When the listener is
> > > @@ -37,14 +35,11 @@
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > + <parameter name="disabled"/>
> > > <parameter name="selected"/>
> > > - <parameter name="tag" type="java.lang.Object" direction="in"/>
> > > + <parameter name="tag"/>
> > >
> > > <reserved-parameter name="name"/>
> > > <reserved-parameter name="href"/>
> > > -
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > >
> > > </component-specification>
> > > \ No newline at end of file
> > >
> > > 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Button.jwc
> > >
> > > Index: Button.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Button.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- Button.jwc 5 Jan 2005 23:17:13 -0000 1.2
> > > +++ Button.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.Button" allow-body="no">
> > >
> > > @@ -25,13 +25,10 @@
> > > Creates a labeled button within a form.
> > > </description>
> > >
> > > - <parameter name="label" type="java.lang.String" direction="in"/>
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > + <parameter name="label"/>
> > > + <parameter name="disabled"/>
> > >
> > > <reserved-parameter name="name"/>
> > > <reserved-parameter name="type"/>
> > > -
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > >
> > > </component-specification>
> > >
> > > 1.3 +4 -10 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Checkbox.jwc
> > >
> > > Index: Checkbox.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Checkbox.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- Checkbox.jwc 6 Jan 2005 02:17:18 -0000 1.2
> > > +++ Checkbox.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.Checkbox" allow-body="no">
> > >
> > > @@ -25,16 +25,13 @@
> > > Implements a checkbox within a Form.
> > > </description>
> > >
> > > - <parameter name="selected"
> > > - type="boolean"
> > > - required="yes"
> > > - direction="form">
> > > + <parameter name="selected" required="yes">
> > > <description>
> > > The property read and updated by the Checkbox.
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="disabled" type="boolean" direction="in">
> > > + <parameter name="disabled">
> > > <description>
> > > If true, then the checkbox will be disabled and any input from the checkbox
> > > will be ignored.
> > > @@ -45,7 +42,4 @@
> > > <reserved-parameter name="checked"/>
> > > <reserved-parameter name="name"/>
> > >
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > > -
> > > </component-specification>
> > >
> > > 1.3 +7 -19 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/PropertySelection.jwc
> > >
> > > Index: PropertySelection.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/PropertySelection.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- PropertySelection.jwc 6 Jan 2005 02:17:18 -0000 1.2
> > > +++ PropertySelection.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.PropertySelection"
> > > allow-body="no"
> > > @@ -27,36 +27,24 @@
> > > Creates an HTML select to choose a single property from a list of options.
> > > </description>
> > >
> > > - <parameter name="value" required="yes" type="java.lang.Object" direction="form"/>
> > > + <parameter name="value" required="yes"/>
> > >
> > > - <parameter name="model"
> > > - type="org.apache.tapestry.form.IPropertySelectionModel"
> > > - required="yes"
> > > - direction="in"/>
> > > + <parameter name="model" required="yes"/>
> > >
> > > - <parameter name="disabled"
> > > - type="boolean"
> > > - direction="in"/>
> > > + <parameter name="disabled"/>
> > >
> > > - <parameter name="renderer"
> > > - type="org.apache.tapestry.form.IPropertySelectionRenderer"
> > > - direction="in">
> > > + <parameter name="renderer">
> > > <description>
> > > An alternate rendered for the property selection.
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="submitOnChange"
> > > - type="boolean"
> > > - direction="in">
> > > + <parameter name="submitOnChange">
> > > <description>
> > > Enables logic to submit containing form when value changes.
> > > </description>
> > > </parameter>
> > >
> > > <reserved-parameter name="name"/>
> > > -
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > >
> > > </component-specification>
> > >
> > > 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/TextArea.jwc
> > >
> > > Index: TextArea.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/TextArea.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- TextArea.jwc 5 Jan 2005 23:17:13 -0000 1.2
> > > +++ TextArea.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.TextArea" allow-body="no">
> > >
> > > @@ -25,13 +25,10 @@
> > > A multi-line text area.
> > > </description>
> > >
> > > - <parameter name="value" type="java.lang.String" required="yes" direction="form"/>
> > > + <parameter name="value" required="yes"/>
> > >
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > + <parameter name="disabled"/>
> > >
> > > <reserved-parameter name="name"/>
> > >
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > > -
> > > </component-specification>
> > >
> > > 1.3 +3 -6 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/RadioGroup.jwc
> > >
> > > Index: RadioGroup.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/RadioGroup.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- RadioGroup.jwc 5 Jan 2005 23:17:13 -0000 1.2
> > > +++ RadioGroup.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.RadioGroup" allow-informal-parameters="no">
> > >
> > > @@ -27,9 +27,6 @@
> > >
> > > <parameter name="selected" required="yes"/>
> > >
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > -
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > > + <parameter name="disabled"/>
> > >
> > > </component-specification>
> > >
> > > 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Upload.jwc
> > >
> > > Index: Upload.jwc
> > > ===================================================================
> > > RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Upload.jwc,v
> > > retrieving revision 1.2
> > > retrieving revision 1.3
> > > diff -u -r1.2 -r1.3
> > > --- Upload.jwc 5 Jan 2005 23:17:13 -0000 1.2
> > > +++ Upload.jwc 27 Jan 2005 05:35:51 -0000 1.3
> > > @@ -16,8 +16,8 @@
> > > -->
> > >
> > > <!DOCTYPE component-specification PUBLIC
> > > - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> > > - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> > > + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> > > + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
> > >
> > > <component-specification class="org.apache.tapestry.form.Upload" allow-body="no">
> > > @@ -26,19 +26,16 @@
> > > Allows a file to be uploaded as part of a form.
> > > </description>
> > >
> > > - <parameter name="file" type="org.apache.tapestry.request.IUploadFile" required="yes" direction="form">
> > > + <parameter name="file" required="yes">
> > > <description>
> > > Parameter updated with the information (filename and content) of the file
> > > when the form is submitted.
> > > </description>
> > > </parameter>
> > >
> > > - <parameter name="disabled" type="boolean" direction="in"/>
> > > + <parameter name="disabled"/>
> > >
> > > <reserved-parameter name="type"/>
> > > <reserved-parameter name="name"/>
> > >
> > > - <property-specification name="name" type="java.lang.String"/>
> > > - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> > > -
> > > </component-specification>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> > >
> > >
> >
> >
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-tapestry/framework/src/java/org/apache/tapestry/form Submit.jwc Radio.jwc ImageSubmit.jwc Select.jwc LinkSubmit.jwc Button.jwc Checkbox.jwc PropertySelection.jwc TextArea.jwc RadioGroup.jwc Upload.jwc
Posted by Howard Lewis Ship <hl...@gmail.com>.
That's the spirit!
On 27 Jan 2005 05:35:51 -0000, pferraro@apache.org <pf...@apache.org> wrote:
> pferraro 2005/01/26 21:35:51
>
> Modified: framework/src/java/org/apache/tapestry/form Submit.jwc
> Radio.jwc ImageSubmit.jwc Select.jwc LinkSubmit.jwc
> Button.jwc Checkbox.jwc PropertySelection.jwc
> TextArea.jwc RadioGroup.jwc Upload.jwc
> Log:
> Updated to use 3.1 DTD.
>
> Revision Changes Path
> 1.3 +6 -11 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.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- Submit.jwc 6 Jan 2005 02:17:18 -0000 1.2
> +++ Submit.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.Submit" allow-body="no">
>
> @@ -25,18 +25,13 @@
> Creates a labeled submit button within a form.
> </description>
>
> - <parameter name="label" type="java.lang.String" direction="in"/>
> - <parameter name="disabled" type="boolean" direction="in"/>
> + <parameter name="label"/>
> + <parameter name="disabled"/>
> <parameter name="selected"/>
> - <parameter name="tag" type="java.lang.Object" direction="in"/>
> - <parameter name="listener"
> - type="org.apache.tapestry.IActionListener"
> - direction="in"/>
> + <parameter name="tag"/>
> + <parameter name="listener"/>
>
> <reserved-parameter name="name"/>
> <reserved-parameter name="type"/>
> -
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
>
> </component-specification>
>
> 1.3 +4 -4 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Radio.jwc
>
> Index: Radio.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Radio.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- Radio.jwc 5 Jan 2005 23:17:13 -0000 1.2
> +++ Radio.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.Radio" allow-body="no">
>
> @@ -25,9 +25,9 @@
> A single possible selection within a RadioGroup.
> </description>
>
> - <parameter name="value" type="java.lang.Object" direction="in"/>
> + <parameter name="value"/>
>
> - <parameter name="disabled" type="boolean" direction="in"/>
> + <parameter name="disabled"/>
>
> <reserved-parameter name="checked"/>
> <reserved-parameter name="type"/>
>
> 1.3 +10 -28 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/ImageSubmit.jwc
>
> Index: ImageSubmit.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/ImageSubmit.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- ImageSubmit.jwc 6 Jan 2005 02:17:18 -0000 1.2
> +++ ImageSubmit.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.ImageSubmit" allow-body="no">
>
> @@ -25,52 +25,37 @@
> Creates a clickable image within a form.
> </description>
>
> - <parameter name="image"
> - type="org.apache.tapestry.IAsset"
> - required="yes"
> - direction="in">
> + <parameter name="image" required="yes">
> <description>
> Image used for the button.
> </description>
> </parameter>
>
> - <parameter name="name"
> - property-name="nameOverride"
> - type="java.lang.String"
> - direction="in"/>
> + <parameter name="name" property-name="nameOverride"/>
>
> - <parameter name="disabledImage"
> - type="org.apache.tapestry.IAsset"
> - direction="in">
> + <parameter name="disabledImage">
> <description>
> Image used for the button, if disabled.
> </description>
> </parameter>
>
> - <parameter name="disabled"
> - type="boolean"
> - direction="in"/>
> + <parameter name="disabled"/>
>
> - <parameter name="point" type="java.awt.Point"/>
> + <parameter name="point"/>
>
> - <parameter name="selected"
> - type="java.lang.Object">
> + <parameter name="selected">
> <description>
> Property updated when the button is clicked.
> </description>
> </parameter>
>
> - <parameter name="tag"
> - type="java.lang.Object"
> - direction="in">
> + <parameter name="tag">
> <description>
> Value used when updating the selected parameter.
> </description>
> </parameter>
>
> - <parameter name="listener"
> - type="org.apache.tapestry.IActionListener"
> - direction="in">
> + <parameter name="listener">
> <description>
> Notified when the button is clicked.
> </description>
> @@ -79,8 +64,5 @@
> <reserved-parameter name="type"/>
> <reserved-parameter name="src"/>
> <reserved-parameter name="border"/>
> -
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
>
> </component-specification>
>
> 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Select.jwc
>
> Index: Select.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Select.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- Select.jwc 6 Jan 2005 02:17:18 -0000 1.2
> +++ Select.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.Select">
>
> @@ -25,12 +25,9 @@
> Creates an HTML select populated with a number of options.
> </description>
>
> - <parameter name="multiple" type="boolean" direction="in"/>
> - <parameter name="disabled" type="boolean" direction="in"/>
> + <parameter name="multiple"/>
> + <parameter name="disabled"/>
>
> <reserved-parameter name="name"/>
>
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> -
> </component-specification>
>
> 1.3 +5 -10 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/LinkSubmit.jwc
>
> Index: LinkSubmit.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/LinkSubmit.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- LinkSubmit.jwc 6 Jan 2005 02:17:18 -0000 1.2
> +++ LinkSubmit.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.LinkSubmit" allow-body="yes">
>
> @@ -25,9 +25,7 @@
> Creates a hyperlink that submits its enclosing form using JavaScript.
> </description>
>
> - <parameter name="listener"
> - type="org.apache.tapestry.IActionListener"
> - direction="in">
> + <parameter name="listener">
> <description>
> The listener is invoked during the rewind as the link component is encountered. This is
> both attractive and dangerous when combined with a form. When the listener is
> @@ -37,14 +35,11 @@
> </description>
> </parameter>
>
> - <parameter name="disabled" type="boolean" direction="in"/>
> + <parameter name="disabled"/>
> <parameter name="selected"/>
> - <parameter name="tag" type="java.lang.Object" direction="in"/>
> + <parameter name="tag"/>
>
> <reserved-parameter name="name"/>
> <reserved-parameter name="href"/>
> -
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
>
> </component-specification>
> \ No newline at end of file
>
> 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Button.jwc
>
> Index: Button.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Button.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- Button.jwc 5 Jan 2005 23:17:13 -0000 1.2
> +++ Button.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.Button" allow-body="no">
>
> @@ -25,13 +25,10 @@
> Creates a labeled button within a form.
> </description>
>
> - <parameter name="label" type="java.lang.String" direction="in"/>
> - <parameter name="disabled" type="boolean" direction="in"/>
> + <parameter name="label"/>
> + <parameter name="disabled"/>
>
> <reserved-parameter name="name"/>
> <reserved-parameter name="type"/>
> -
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
>
> </component-specification>
>
> 1.3 +4 -10 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Checkbox.jwc
>
> Index: Checkbox.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Checkbox.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- Checkbox.jwc 6 Jan 2005 02:17:18 -0000 1.2
> +++ Checkbox.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.Checkbox" allow-body="no">
>
> @@ -25,16 +25,13 @@
> Implements a checkbox within a Form.
> </description>
>
> - <parameter name="selected"
> - type="boolean"
> - required="yes"
> - direction="form">
> + <parameter name="selected" required="yes">
> <description>
> The property read and updated by the Checkbox.
> </description>
> </parameter>
>
> - <parameter name="disabled" type="boolean" direction="in">
> + <parameter name="disabled">
> <description>
> If true, then the checkbox will be disabled and any input from the checkbox
> will be ignored.
> @@ -45,7 +42,4 @@
> <reserved-parameter name="checked"/>
> <reserved-parameter name="name"/>
>
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> -
> </component-specification>
>
> 1.3 +7 -19 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/PropertySelection.jwc
>
> Index: PropertySelection.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/PropertySelection.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- PropertySelection.jwc 6 Jan 2005 02:17:18 -0000 1.2
> +++ PropertySelection.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.PropertySelection"
> allow-body="no"
> @@ -27,36 +27,24 @@
> Creates an HTML select to choose a single property from a list of options.
> </description>
>
> - <parameter name="value" required="yes" type="java.lang.Object" direction="form"/>
> + <parameter name="value" required="yes"/>
>
> - <parameter name="model"
> - type="org.apache.tapestry.form.IPropertySelectionModel"
> - required="yes"
> - direction="in"/>
> + <parameter name="model" required="yes"/>
>
> - <parameter name="disabled"
> - type="boolean"
> - direction="in"/>
> + <parameter name="disabled"/>
>
> - <parameter name="renderer"
> - type="org.apache.tapestry.form.IPropertySelectionRenderer"
> - direction="in">
> + <parameter name="renderer">
> <description>
> An alternate rendered for the property selection.
> </description>
> </parameter>
>
> - <parameter name="submitOnChange"
> - type="boolean"
> - direction="in">
> + <parameter name="submitOnChange">
> <description>
> Enables logic to submit containing form when value changes.
> </description>
> </parameter>
>
> <reserved-parameter name="name"/>
> -
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
>
> </component-specification>
>
> 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/TextArea.jwc
>
> Index: TextArea.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/TextArea.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- TextArea.jwc 5 Jan 2005 23:17:13 -0000 1.2
> +++ TextArea.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.TextArea" allow-body="no">
>
> @@ -25,13 +25,10 @@
> A multi-line text area.
> </description>
>
> - <parameter name="value" type="java.lang.String" required="yes" direction="form"/>
> + <parameter name="value" required="yes"/>
>
> - <parameter name="disabled" type="boolean" direction="in"/>
> + <parameter name="disabled"/>
>
> <reserved-parameter name="name"/>
>
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> -
> </component-specification>
>
> 1.3 +3 -6 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/RadioGroup.jwc
>
> Index: RadioGroup.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/RadioGroup.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- RadioGroup.jwc 5 Jan 2005 23:17:13 -0000 1.2
> +++ RadioGroup.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.RadioGroup" allow-informal-parameters="no">
>
> @@ -27,9 +27,6 @@
>
> <parameter name="selected" required="yes"/>
>
> - <parameter name="disabled" type="boolean" direction="in"/>
> -
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> + <parameter name="disabled"/>
>
> </component-specification>
>
> 1.3 +4 -7 jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Upload.jwc
>
> Index: Upload.jwc
> ===================================================================
> RCS file: /home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/form/Upload.jwc,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- Upload.jwc 5 Jan 2005 23:17:13 -0000 1.2
> +++ Upload.jwc 27 Jan 2005 05:35:51 -0000 1.3
> @@ -16,8 +16,8 @@
> -->
>
> <!DOCTYPE component-specification PUBLIC
> - "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
> - "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
> + "-//Apache Software Foundation//Tapestry Specification 3.1//EN"
> + "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_1.dtd">
>
> <component-specification class="org.apache.tapestry.form.Upload" allow-body="no">
> @@ -26,19 +26,16 @@
> Allows a file to be uploaded as part of a form.
> </description>
>
> - <parameter name="file" type="org.apache.tapestry.request.IUploadFile" required="yes" direction="form">
> + <parameter name="file" required="yes">
> <description>
> Parameter updated with the information (filename and content) of the file
> when the form is submitted.
> </description>
> </parameter>
>
> - <parameter name="disabled" type="boolean" direction="in"/>
> + <parameter name="disabled"/>
>
> <reserved-parameter name="type"/>
> <reserved-parameter name="name"/>
>
> - <property-specification name="name" type="java.lang.String"/>
> - <property-specification name="form" type="org.apache.tapestry.IForm"/>
> -
> </component-specification>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org