-2

Will <h:inputHidden> tag do the html encoding for the attribute value it renders?

I cannot find any documentation on this.

JJJ
  • 32,902
  • 20
  • 89
  • 102
Mr wu
  • 1
  • 1

1 Answers1

0

In JSF, everything is HTML-encoded, unless you explicitly set escape="false" attribute on the tag/component supporting that attribute (such as <h:outputText>).

This thus also covers the value of any <h:inputXxx> component.

See also:

Community
  • 1
  • 1
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555