[ 
https://issues.apache.org/jira/browse/TAPESTRY-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Geoff Callender updated TAPESTRY-1926:
--------------------------------------

    Component/s:     (was: Core Components)
                 tapestry-core

> DateField disabling does not work
> ---------------------------------
>
>                 Key: TAPESTRY-1926
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1926
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.6
>         Environment: JBoss, Safari
>            Reporter: Geoff Callender
>
> This DateField does not become disabled - data can be typed in and the picker 
> button works as normal:
>    <th><t:label for="expiryDate"/></th>
>    <td><input t:id="expiryDate" t:type="DateField" value="user.expiryDate" 
> format="${dateFieldFormat}" disabled="true"/></td>
> Viewing the rendered page source, it appears the "disabled" attribute is 
> erroneously output on the <td> instead of on the <input> tag:
>    <th><label for="expiryDate" id="expiryDate:label">Expiry Date</label></th>
>    <td disabled="disabled"><input id="expiryDate" name="expiryDate" 
> type="text" value="31/12/2010"><button class="t-calendar-trigger" 
> id="expiryDate:trigger"><img alt="[Show]" 
> src="/jumpstart-min/assets/jscalendar/img.gif"></button><img alt="[Error]" 
> class="t-error-icon t-invisible" id="expiryDate:icon" 
> src="/jumpstart-min/assets/tapestry/field-error-marker.png"></td>

-- 
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