开发者

why subview id prefixed in the h:message output?

开发者 https://www.devze.com 2023-02-26 04:44 出处:网络
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 your

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

精彩评论

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