>From: Richard Wallace <[EMAIL PROTECTED]> > > Hello all, > > I'm trying to use the tomahawk validator for making sure two fields have > the same value for users entering their password. There isn't a > definition in the clay-config.xml in the Shale or MyFaces JIRA tickets > so I'm trying to create one. So I went ahead and created one: > >
Try using the validatorId for the component type. The validatorId is is the name used to register the validator in the faces-config (http://myfaces.apache.org/tomahawk/validateEqual.html). <component jsfid="t:validateEqual" componentType="org.apache.myfaces.validator.Equal"> <attributes> <set name="for" bindingType="Early" /> </attributes> </component> Try something like this: <component jsfid="myId" extends="inputText"> <validator jsfid="t:validateEqual"> <attributes> <set name="for" value="equal"/> </attributes> </validator> </component> > What am I missing? I mean, obviously I'm setting the componentType to > the wrong thing, but can someone give me a clue what it should be? > I've not used this one but that should be what's required on the clay config side. > Thanks, > Rich > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >