How to add a message to a specific component from JSF backing bean

后端 未结 2 1090
盖世英雄少女心
盖世英雄少女心 2020-12-28 16:44

I have an h:inputText and an h:message connected to it:



    <         


        
2条回答
  •  半阙折子戏
    2020-12-28 17:28

    Another way to do that is: give an ID to the form, like "form1", then, when add the message, the clientId is "form1:test".

提交回复
热议问题