I don't know what the summaryFormat attribute does. Check the source, I guess.
It's on my todo list to expand all tomahawk validators to support a "message" attribute, which is probably what you're looking for, but I've been very busy with non-JSF-related stuff for the last month, and I'm still catching up (485 emails to go). For example, see http://issues.apache.org/jira/browse/MYFACES-801 If you want to submit patches (maybe open a catch-all JIRA issue on "adding message attribute to all tomahawk validators to store them), it might speed things up -- someone else might get to it before I do. On 2/3/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > 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 > >

