why subview id prefixed in the h:message output?
Form valid开发者_Go百科ation error message contains subviewid:errormsg. I'm able to disactivate form id with prependId="false". how to suppress subviewid in h:message output?
Specify the labels yourself by label
attribute of <h:inputWhatever>
component.
<h:inputText value="#{bean.username}" label="Username" />
It will then be used instead of client id in validation message.
精彩评论