You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rainer Hermanns (JIRA)" <ji...@apache.org> on 2006/09/13 11:48:31 UTC
[jira] Resolved: (WW-1436) readonly attribute on ww:textfield does
not behave as a boolean
[ http://issues.apache.org/struts/browse/WW-1436?page=all ]
Rainer Hermanns resolved WW-1436.
---------------------------------
Resolution: Fixed
backported from WW-2.2.3
> readonly attribute on ww:textfield does not behave as a boolean
> ---------------------------------------------------------------
>
> Key: WW-1436
> URL: http://issues.apache.org/struts/browse/WW-1436
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.0
> Reporter: Rainer Hermanns
> Assigned To: Rainer Hermanns
> Fix For: 2.0.0
>
>
> See http://jira.opensymphony.com/browse/WW-1310
> The readonly attribute of ww:textfield is not checked on its value, but only on its existence.
> The simple/text.ftl contains this:
> <#if parameters.readonly?exists>
> readonly="readonly"<#rt/>
> </#if>
> But the documentation on ww:textfield (http://wiki.opensymphony.com/display/WW/textfield) says this:
> readonly false false Boolean Whether the input is readonly
> The simple/text.ftl should be changed as follows: (cfr disabled attribute)
> <#if parameters.readonly?default(false)>
> readonly="readonly"<#rt/>
> </#if>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira