Menu
  • HOME
  • TAGS

Attribute name “p:autofocus” associated with an element type “h:inputText” must be followed by the ' = ' character

html5,jsf,facelets,jsf-2.2,passthrough-attributes

No, this is caused by the XHTML standard: XML does not support attribute minimization. Attribute-value pairs must be written in full. Attribute names such as compact and checked cannot occur in elements without their value being specified. From http://www.w3schools.com/tags/att_input_autofocus.asp Differences Between HTML and XHTML In XHTML, attribute minimization is forbidden,...