cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [c2] [patch] validator action feature
Date Mon, 30 Apr 2001 20:56:18 GMT


On Fri, 27 Apr 2001, giacomo wrote:

>
> I'm tiered applying patches from this Man :)
>
> How about applying it yourself?
>
> I promote Martin Man as well as Sylvain Wallez as new commiters to the
> Cocoon project.
>
> Martin Man is our Action Man contributing and patching alot of C2
> Actions.
>
> Sylvain Wallez has made the XSP engine much more compact and also
> recently fixed some namespace issues.
>
> Please your vote, committers.

I've got a few +1 and no -1 so I think we could install those two
accounts.

Brian, can you open up a cocoon committer account for each:

   Martin Man <Martin.Man@seznam.cz>

and

   Sylvain Wallez <sylvain.wallez@anyware-tech.com>

TIA

Giacomo

>
> Giacomo
>
> On Fri, 27 Apr 2001, Martin Man wrote:
>
> > hi all,
> > 	attached is a patch that enables new functionality in form and session
> > validator. it is a new way to specify which parameters to validate and
> > hopefully it cleans a little bit sitemap and introduces more flexibile syntax
> > (comparsion of parameters and comparsion to strings is possible, now just
> > specify what to implement more...)
> >
> > <map:act type="session-validator">
> >     <parameter name="descriptor" value="context://desc.xml"/>
> >     <parameter name="validate-set" value="is-logged-in"/>
> > </map:act>
> >
> > where desc.xml contains
> > <root>
> >     <parameter name="username" type="string" nullable="no"/>
> >     <parameter name="role" type="string" nullable="no"/>
> >
> >     <constraint-set name="is-logged-in">
> >         <validate name="username"/>
> >         <validate name="role"/>
> >     </constraint-set>
> >
> >     <constraint-set name="is-logged-in-admin-role">
> >         <validate name="username"/>
> >         <validate name="role" equals-to="admin"/>
> >     </constraint-set>
> >
> >     <constraint-set name="do-new-passwords-match">
> >         <validate name="newpass"/>
> >         <validate name="renewpass" equals-to-admin="newpass"/>
> >     </constraint-set>
> > </root>
> >
> > rgds,
> > martin man
> >
> > --
> > -------------------------------------------------------------------------------
> > "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
>
>
>
>


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


Mime
View raw message