Shouldn\'t this line of code render a inputtext field with the placeholder text \"fill me\" when using html5?
You can achieve it either with placeholder
attribute or with p:watermark
if using Primefaces and JSF 2.0+ or, when JSF 2.2 available, you can use pt:placeholder
attribute.
Primefaces
Legacy browser support (Adds JS solution):
JSF 2.2 (without PF)
Which basically generates an HTML 5
Check out this answer.