if I input xx.xx ,some exception was thrown. 2006/1/5, Ron Piterman <[EMAIL PROTECTED]>: > BTW, i think that tapestry will drop the digits to the right of the > decimal point if you don't set any validator, so you can just use an > integer property and everything should work. > This will however not give the user any error messages... > Cheers, > ROn > > Jun Tsai wrote: > > hi > > I didn't find a int validator defied in > > tapestry.form.validator.Validators.I want to > > > > <component type="TextField" id="molecularWeightField"> > > <binding name="displayName" value="message:molecularWeight"/> > > <binding name="translator" value="translator:number"/> > > <binding name="validators" value="validators:int,maxLength=10"/> > > <binding name="value" value="ognl:entity.molecularWeight"/> > > </component> > > > > but no int validator. > > > > How to do ? > > > > Thanks > > > > Jun Tsai > > -- > > Welcome to China Java Users Group(CNJUG). > > http://cnjug.dev.java.net > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
