[ 
https://issues.apache.org/jira/browse/MYFACES-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312426#comment-17312426
 ] 

Thomas Andraschko commented on MYFACES-4391:
--------------------------------------------

yep
the current "well maintained" branches are 2.3, 2.3-next, 3.0 and master

> Disabled/ReadOnly HTML attributes should not use boolean
> --------------------------------------------------------
>
>                 Key: MYFACES-4391
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4391
>             Project: MyFaces Core
>          Issue Type: Improvement
>            Reporter: Melloware
>            Priority: Major
>             Fix For: 4.0.0-RC1
>
>
> For `readonly` and `disabled` attributes MyFaces is sending "true" when the 
> right value is `readonly="readoly"`
> Current:
> {code:java}
> if (inputFile.isDisabled())
> {
>      writer.writeAttribute(HTML.DISABLED_ATTR, Boolean.TRUE, null);
> } {code}
>  
> Should be:
> {code:java}
>  if (inputFile.isDisabled()) 
> { 
>    writer.writeAttribute(HTML.DISABLED_ATTR, HTML.DISABLED_ATTR, null); 
> } {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to