Details
Description
I encountered the ClassCastException due to Integer vs. String on h:input @maxlength, which is defined at http://download.oracle.com/docs/cd/E17802_01/j2ee/javaee/javaserverfaces/2.0/docs/pdldocs/facelets/h/inputText.html as (must evaluate to int). I would presume the same for @size (int) and @readonly (boolean). Perhaps naively, it would seem that simply removing the String cast and using Object in CommonPropertyUtils#renderHtmlStringAttribute() (potentially renaming this method in the process) would solve the issue.
Attachments
Issue Links
- blocks
-
MYFACES-3237 [PERF] Renderers for components like h:outputText and others do many unecessary getAttributes().get() calls
- Closed