cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Man <Martin....@seznam.cz>
Subject Re: FormValidatorAction not setting is_string properly
Date Fri, 11 May 2001 08:51:25 GMT
thanx, 
fixed already...

On Wed, May 09, 2001 at 12:24:49PM -0400, Peter Royal wrote:
> I've started working with the FormValidatorAction and i noticed that it 
> wasn't properly setting the is_string parameter when it calls 
> validateParameter. The docs for that method state that is_string should be 
> true when the given param to validate is a string (such as from the HTTP 
> request). Below is a ridiculously simple patch to change two false's to true.
> -peter
> 
> 
> RCS file: 
> /home/cvspublic/xml-cocoon/src/org/apache/cocoon/acting/Attic/FormValidatorAction.java,v
> retrieving revision 1.1.2.8
> diff -w -r1.1.2.8 FormValidatorAction.java
> 105c105
> <                             params, false);
> ---
>  >                             params, true);
> 162c162
> <                             desc, params, false);
> ---
>  >                             desc, params, true);
> 
> 
> -- 
> peter royal -> proyal@managingpartners.com
> managing partners, inc. -> http://www.managingpartners.com
> 

-- 
-------------------------------------------------------------------------------
"Only dead fish swims with a stream"
gpg_key_available: http://globales.cz/~mman/martin.man.gpg
gpg_key_fingerprint: 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message