So, am I way off base on what the summaryFormat attribute for <t:message> is supposed to be? Is there another way to have per input field error messages?

Rich

Richard Wallace wrote:
Hello all,

I'm trying to use the summaryFormat attribute of the tomahawk message component with the following:

     <h:form id="form" onsubmit="return validateForm(this);">
       <h:panelGroup>
         <h:outputLabel for="textInput" value="Input" />
         <h:inputText id="textInput" required="true" />
<t:message for="textInput" summaryFormat="You must enter a value for {1}. If you don't, you'll be sorry!" />
       </h:panelGroup>
       <br />
       <h:commandButton action="doIt" />
     </h:form>

According to the web site, this should display the error message "Your must enter a value for Input. If you don't, you'll be sorry!" Instead, I'm seeing the plain old ""Input": Value is required." I'm using myfaces and tomahawk 1.1.1, do I need to be using a snapshot version?

Thanks,
Rich

Reply via email to