cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: R: [RT] New validator and propagator infrastructure
Date Mon, 22 Oct 2001 12:45:42 GMT
> -----Original Message-----
> From: Martin Man [mailto:Martin.Man@seznam.cz]
> Sent: Monday, October 22, 2001 7:10 AM
> To: Paolo
> Cc: cocoon-dev@xml.apache.org
> Subject: Re: R: [RT] New validator and propagator infrastructure
> 
> On Mon, Oct 22, 2001 at 09:00:41AM +0200, Paolo wrote:
> > Hi Martin!
> > I were thinking of your idea about some month ago... I like that,
but
> > I'd like to add to request parameters/attributes, session attributes
and
> > cookies, the sitemap parameter object to propagate to, or validate
from
> > in these actions.
> >
> > > long		[min, max, equals]
> > > double	[min, max, equals]
> > > string	[max-len, matches-regexp, equals, equals-ignore-case]
> > > date		[valid] (probably (min|max)-(day|month|year)
???)
> > > xml		[well-formed, valid]
> >
> > I'd like to add the boolean type, too.
> 
> yep, good point, but we have to agree what should be considered false
amd what
> true, .., if some web designer who knows how different browsers behave
for
> boolean types of input can provide me with the description I'll be
happy to
> add the functionality...

type="checkbox" is quite simple: absent parameter - false, present
parameter - true.
Value of parameter could be specified via (guess! :)) value attribute:
<input type="checkbox" name="param" value="Yes!"/>

So we could use null as false and not null as true.

Regards,
Vadim

> 
> >
> > ByeBYe,
> > Paolo Scaffardi
> > AIRVENT SAM S.p.A.
> >
> >
> 
> martin
> --
> 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


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


Mime
View raw message