ASFAIK, form-validator is no longer maintained, even if this would be a bug. I suggest you to use CForm instead: it is more powerful and flexible.
bye pino On 31/05/07, Jeff Sallade <[EMAIL PROTECTED]> wrote:
Hi, does anyone have some more specifics on how to use the "form-validator" action with a descriptor file that contains parameters having type="long" in conjuction with the min and max attributes specified? I have a parameter in my descriptor file as follows: <parameter name="bl_consumer_groups.bill_copies" type="long" min="0" max="9999999999999999999999" nullable="yes" /> The data passed in as a request parameter is 1 and the AbstractValidatorAction.AbstractValidatorAction method is catching a NumberFormatException with the text, For input string: "9999999999999999999999" The log file message says, "No type specified for parameter bl_consumer_groups.bill_copies," and the method returns a null value which causes a java.lang.NullPointerException to halt the whole validation process. How should the min and max values be formatted for long datatypes? Any info would be greatly appreciated. Thanks, Jeff Sallade --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Giuseppe Di Pierri Managing Director ______________________ Phiware Engineering Sagl via Ginevra 5 CH-6900 Lugano Tel. +41 91 260 75 55 Fax.+41 91 260 75 59 Email. [EMAIL PROTECTED] -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
