[jira] Commented: (TAP5-566) Error in documentation for TextField component.

2009-03-10 Thread Borut Bolcina (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12680423#action_12680423
 ] 

Borut Bolcina commented on TAP5-566:


But there is no 

@Property
private String cardNumber;

in the example. 

It is confusing if the Flags says Required, and the explanation says ...if not 
bound then...

 Error in documentation for TextField component.
 ---

 Key: TAP5-566
 URL: https://issues.apache.org/jira/browse/TAP5-566
 Project: Tapestry 5
  Issue Type: Bug
  Components: documentation
Affects Versions: 5.0.18
Reporter: Borut Bolcina

 At 
 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/TextField.html
  there is an example for Payment.tml
 t:label for=cardNumber/:
 t:textfield t:id=cardNumber  validate=required,regexp 
 size=20/
 It is missing the required parameter value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-566) Error in documentation for TextField component.

2009-03-10 Thread Howard M. Lewis Ship (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12680469#action_12680469
 ] 

Howard M. Lewis Ship commented on TAP5-566:
---

It is still required, but we're saying that Tapestry can attempt to bind it for 
you. That won't always work, in which case it is an error if you neither you 
nor Tapestry can bind the parameter.

 Error in documentation for TextField component.
 ---

 Key: TAP5-566
 URL: https://issues.apache.org/jira/browse/TAP5-566
 Project: Tapestry 5
  Issue Type: Bug
  Components: documentation
Affects Versions: 5.0.18
Reporter: Borut Bolcina

 At 
 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/TextField.html
  there is an example for Payment.tml
 t:label for=cardNumber/:
 t:textfield t:id=cardNumber  validate=required,regexp 
 size=20/
 It is missing the required parameter value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.