JSF – how to generate javax without ‘ID’ and ‘autocomplete’ attributes faces. Viewstate hide field

This is what I have in the output HTML document (generated by JSF 2.0 / mojarra 2.0.3): @ h_ 502_ 2@

My document should conform to XHTML 1.1, where the attribute autocomplete is invalid, and the ID attribute is repeated on all forms How do I instruct JSF to generate all content that strictly conforms to XHTML?

Solution

See@ H_ 502_ 2@ com. sun. faces. autoCompleteOffOnViewState false com. sun. faces. enableViewStateIdRendering false

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>