Author: bwallace
Date: Mon Apr 24 16:58:08 2006
New Revision: 396735
URL: http://svn.apache.org/viewcvs?rev=396735&view=rev
Log:
[TAPESTRY-834] Added descriptions to component descriptors.
Modified:
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBlock.jwc
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBody.jwc
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/form/DatePicker.jwc
Modified:
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBlock.jwc
URL:
http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBlock.jwc?rev=396735&r1=396734&r2=396735&view=diff
==============================================================================
---
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBlock.jwc
(original)
+++
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBlock.jwc
Mon Apr 24 16:58:08 2006
@@ -23,6 +23,11 @@
allow-body="no"
allow-informal-parameters="yes">
+ <description>
+ Renders the body of a Block component, which may be selected dynamically.
+ The Block may be on the same page as the RenderBlock or on another page
entirely.
+ </description>
+
<parameter name="block" required="yes"/>
</component-specification>
Modified:
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBody.jwc
URL:
http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBody.jwc?rev=396735&r1=396734&r2=396735&view=diff
==============================================================================
---
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBody.jwc
(original)
+++
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/components/RenderBody.jwc
Mon Apr 24 16:58:08 2006
@@ -22,4 +22,12 @@
<component-specification
class="org.apache.tapestry.components.RenderBody"
allow-body="no"
- allow-informal-parameters="no"/>
+ allow-informal-parameters="no">
+
+ <description>
+ Renders the body (static HTML and components) wrapped by the container of
the
+ RenderBody component. Components which have HTML templates and can wrap
other
+ elements should include exactly one RenderBody component in their template.
+ </description>
+
+</component-specification>
Modified:
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/form/DatePicker.jwc
URL:
http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/form/DatePicker.jwc?rev=396735&r1=396734&r2=396735&view=diff
==============================================================================
---
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/form/DatePicker.jwc
(original)
+++
tapestry/tapestry4/branches/4.0/framework/src/java/org/apache/tapestry/form/DatePicker.jwc
Mon Apr 24 16:58:08 2006
@@ -21,6 +21,11 @@
<component-specification class="org.apache.tapestry.form.DatePicker"
allow-body="no">
+ <description>
+ Provides a form Date field component for selecting dates.
+ DatePicker presents a drop down monthly calendar for users to select dates
from.
+ </description>
+
<parameter name="value" required="yes"/>
<parameter name="disabled"/>
<parameter name="includeWeek"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]