Re: Validate BigDecimal maxlength not working

2012-06-05 Thread George Christman
all set, https://issues.apache.org/jira/browse/TAP5-1947 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Validate-BigDecimal-maxlength-not-working-tp5713611p5713642.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Validate BigDecimal maxlength not working

2012-06-05 Thread Thiago H de Paula Figueiredo
On Tue, 05 Jun 2012 13:17:17 -0300, George Christman wrote: Thiago, I'd like to donate the following code to the community or anybody else who may run into this problem. Nice! Thank you very much! Could you create a JIRA for that and attach the code below in it? Apache requires some way t

Re: Validate BigDecimal maxlength not working

2012-06-05 Thread George Christman
MaxPrecision()); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/Validate-BigDecimal-maxlength-not-working-tp5713611p5713639.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To uns

Re: Validate BigDecimal maxlength not working

2012-06-05 Thread George Christman
Thanks Thiago, exactly what I was looking for. Almost completed :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Validate-BigDecimal-maxlength-not-working-tp5713611p5713638.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Validate BigDecimal maxlength not working

2012-06-05 Thread Thiago H de Paula Figueiredo
On Tue, 05 Jun 2012 10:50:00 -0300, George Christman wrote: Would you be referring to something like this http://wiki.apache.org/tapestry/CreatingCustomValidators Exactly, but for BigDecimals. -- Thiago H. de Paula Figueiredo ---

Re: Validate BigDecimal maxlength not working

2012-06-05 Thread George Christman
Would you be referring to something like this http://wiki.apache.org/tapestry/CreatingCustomValidators -- View this message in context: http://tapestry.1045711.n5.nabble.com/Validate-BigDecimal-maxlength-not-working-tp5713611p5713636.html Sent from the Tapestry - User mailing list archive at

Re: Validate BigDecimal maxlength not working

2012-06-05 Thread Thiago H de Paula Figueiredo
On Tue, 05 Jun 2012 10:13:08 -0300, George Christman wrote: It's not the most ideal solution, but will work. I'm working on a big finance form, so lots of these types of fields to be validated. If you happen to think of a more robust way of doing this, please keep me posted. In your cas

Re: Validate BigDecimal maxlength not working

2012-06-05 Thread George Christman
1045711.n5.nabble.com/Validate-BigDecimal-maxlength-not-working-tp5713611p5713633.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional c

Re: Validate BigDecimal maxlength not working

2012-06-04 Thread Thiago H de Paula Figueiredo
On Mon, 04 Jun 2012 17:58:21 -0300, George Christman wrote: Would you recommend regex then? Regex is another String-only validator. If it's for just one field, create an onValidateFrom[FieldComponentId] () method and do your validation there. -- Thiago H. de Paula Figueiredo --

Re: Validate BigDecimal maxlength not working

2012-06-04 Thread George Christman
Would you recommend regex then? -George - Reply message - From: "Thiago H de Paula Figueiredo [via Tapestry]" Date: Mon, Jun 4, 2012 4:52 pm Subject: Validate BigDecimal maxlength not working To: "George Christman" -- View this message in context: http:/

Re: Validate BigDecimal maxlength not working

2012-06-04 Thread Thiago H de Paula Figueiredo
On Mon, 04 Jun 2012 16:12:40 -0300, George Christman wrote: Hello, I can't seem to get my tapestry validator to validate the max length of a bigdecimal field. It seems to work for string fields without an issue. You've answered your own question: this validator is only meant to be used

Validate BigDecimal maxlength not working

2012-06-04 Thread George Christman
Hello, I can't seem to get my tapestry validator to validate the max length of a bigdecimal field. It seems to work for string fields without an issue. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Validate-BigDecimal-maxlength-not-working-tp5713611.html Sent fro