Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
For `readonly` and `disabled` attributes MyFaces is sending "true" when the right value is `readonly="readoly"`
Current:
if (inputFile.isDisabled()) { writer.writeAttribute(HTML.DISABLED_ATTR, Boolean.TRUE, null); }
Should be:
if (inputFile.isDisabled()) { writer.writeAttribute(HTML.DISABLED_ATTR, HTML.DISABLED_ATTR, null); }