Seems that there is an bug using some HTML 5 attributes using the passthrough
namespace, i.e:
<h:inputText id="text1" p:autofocus p:placeholder="this is a placeholder text"></h:inputText>
When I try to run the page in Glassfish I get this error:
Error Parsing /index.xhtml: Error Traced[line: 19] Attribute name "p:autofocus" associated with an element type "h:inputText" must be followed by the ' = ' character.
Notice the placeholder attribute works fine, just the ones that doesn't need to specify a value (=""
), for example autofocus
are failing.
Is this a known bug?