开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜