You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ds...@apache.org on 2005/10/01 02:47:38 UTC
svn commit: r292884 - in /jakarta/tapestry/trunk:
contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/MaskEdit.xml
status.xml
Author: dsolis
Date: Fri Sep 30 17:47:31 2005
New Revision: 292884
URL: http://svn.apache.org/viewcvs?rev=292884&view=rev
Log:
Fix bug:TAPESTRY-492. Document MaskEdit component
Modified:
jakarta/tapestry/trunk/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/MaskEdit.xml
jakarta/tapestry/trunk/status.xml
Modified: jakarta/tapestry/trunk/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/MaskEdit.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/MaskEdit.xml?rev=292884&r1=292883&r2=292884&view=diff
==============================================================================
--- jakarta/tapestry/trunk/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/MaskEdit.xml (original)
+++ jakarta/tapestry/trunk/contrib/src/documentation/content/xdocs/tapestry-contrib/ComponentReference/MaskEdit.xml Fri Sep 30 17:47:31 2005
@@ -28,11 +28,40 @@
<body>
-<p> <strong>THIS PAGE UNDER CONSTRUCTION</strong>
+<p> Provides a mask edit HTML <input type="text"> form element.
+<br/>Mask edit field validates the text the user enters against a mask that encodes the valid forms the text can take. The mask can also format text that is displayed to the user.
</p>
+ <table>
+ <tr>
+ <th>Mask character</th>
+ <th>Meaning in mask</th>
+ </tr>
+ <tr>
+ <td>l</td><td>Mixed case letter character [a..z, A..Z]</td>
+ </tr>
+ <tr>
+ <td>L</td><td>Upper case letter character [A..Z]</td>
+ </tr>
+ <tr>
+ <td>a</td><td>Mixed case alpha numeric character [a..z, A..Z, 0..1]</td>
+ </tr>
+ <tr>
+ <td>A</td><td>Upper case alpha numeric character [A..Z, 0..9]</td>
+ </tr>
+ <tr>
+ <td>#</td><td>Numeric character [0..9]</td>
+ </tr>
+ <tr>
+ <td>_</td><td>Reserved character for display, do not use.</td>
+ </tr>
+ <tr>
+ <td>others</td><td>Non editable character for display.</td>
+ </tr>
+ </table>
+ <p> This component requires JavaScript to be enabled in the client browser.</p>
<p>
- <strong>See also:</strong>
+ <strong>See also: &Form;</strong>
</p>
<section>
@@ -47,15 +76,40 @@
<th>Default</th>
<th>Description</th>
</tr>
+ <tr>
+ <td>mask</td>
+ <td>string</td>
+ <td>in</td>
+ <td>no</td>
+ <td> </td>
+ <td>See above.</td>
+ </tr>
+ <tr>
+ <td>value</td>
+ <td>string</td>
+ <td>in / out</td>
+ <td>yes</td>
+ <td> </td>
+ <td>The value to be editted, which is is usually a string. </td>
+ </tr>
+ <tr>
+ <td>disabled</td>
+ <td>boolean</td>
+ <td>in</td>
+ <td>no</td>
+ <td>false</td>
+ <td>If true, then a disabled attribute will be rendered as part of the <input> tag, and the component will not
+ update its value parameter when the form is submitted.</td>
+ </tr>
</table>
<p>
- Body: <strong>removed / allowed</strong>
+ Body: <strong>removed</strong>
</p>
<p>
- Informal parameters: <strong>allowed / forbidden</strong>
+ Informal parameters: <strong>forbidden</strong>
</p>
<p>
@@ -64,9 +118,5 @@
</section>
-<section>
- <title>Examples</title>
-
-</section>
</body>
</document>
Modified: jakarta/tapestry/trunk/status.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/status.xml?rev=292884&r1=292883&r2=292884&view=diff
==============================================================================
--- jakarta/tapestry/trunk/status.xml (original)
+++ jakarta/tapestry/trunk/status.xml Fri Sep 30 17:47:31 2005
@@ -58,6 +58,7 @@
<action type="fix" dev="HLS" fixes-bug="TAPESTRY-680">Need an injection type comparable to the state: binding prefix</action>
<action type="update" dev="HLS">Re-organize Tapestry project site navigation to be more consistent</action>
<action type="update" dev="HLS">Rework build to create an seperate Tapestry examples distribution (which will be hosted from a non-ASF host)</action>
+ <action type="fix" dev="DS" fixes-bug="TAPESTRY-492">Document MaskEdit component</action>
</release>
<release version="4.0-beta-8" date="Sep 24 2005">
<action type="fix" dev="DS" fixes-bug="TAPESTRY-465">Document Foreach component</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org