1 Reply Latest reply on Mar 4, 2008 12:26 PM by Nicklas Karlsson

    Personaalise error message

    Nassij Zouhair Newbie

      Hello,


      first of all ill explain what i want to do and then let me ask if its possible with seam


      look at the following code, it displays an error message for an input field


      Code:


      <h:inputText id="myInput" required="true" value="#{TestBean.value}" errorStyle="color:red" />
      <h:message for="myInput" /> 



      This will produce the following output:
      'myInput :Value required'


      the problem is that we can't personnalise this message to have more details, because it's unified from all fields.


      Thanks;