struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-2231) autocompleter: bug in autocompleter.ftl at disabled="false"
Date Fri, 02 May 2008 02:37:05 GMT

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

Don Brown updated WW-2231:
--------------------------

    Component/s:     (was: Build Management)
                 Plugin - Dojo Tags

> autocompleter: bug in autocompleter.ftl at disabled="false"
> -----------------------------------------------------------
>
>                 Key: WW-2231
>                 URL: https://issues.apache.org/struts/browse/WW-2231
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.9
>         Environment: any browser in html mode (works well for xhtml)
>            Reporter: Pablo Lillia
>            Priority: Minor
>             Fix For: 2.1.2
>
>
> In html4 disabled="false" disables controls. So, in html, if disabled="false", there
must no disabled attribute be renderer. In xhtml disabled="false" works as is expected.
> The problem is that when disabled is false, disabled attribute must not be renderer,
and all themes renders it.
> autocompleter.ftl has:
> ...
> <#if parameters.disabled?exists>
>  disabled="${parameters.disabled?string?html}"<#rt/>
> </#if>
> ...
> and it may be:
> ...
> <#if parameters.disabled!"false" = "true">
>  disabled="${parameters.disabled?string?html}"<#rt/>
> </#if>
> ...
> So it works in html4 AND xhtml.
> Please note that this problem may afect others controls too!!

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


Mime
View raw message