The Submit component doesn't need validation decoration.
--------------------------------------------------------

                 Key: TAPESTRY-1672
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1672
             Project: Tapestry
          Issue Type: Improvement
    Affects Versions: 5.0.5
            Reporter: Nick Westgate
            Priority: Minor


Currently, each form field, including submits, is wrapped with validation 
decoration. Eg.:
<input id="itemEdit" name="itemEdit" type="submit" value="Edit">
<img alt="[Error]" class="t-error-icon t-invisible" id="itemEdit:icon" 
src="/myapp/assets/tapestry/field-error-marker.png">

If this behavior (in AbstractField) was split out into overridable methods, 
components like Submit could suppress it.

Cheers,
Nick.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to