cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: [C2/Patch] Selector Heaven :-)
Date Mon, 04 Dec 2000 09:25:17 GMT


Marcus Crafter a écrit :
> 
> Hi Sylvain,
> 
>         Thanks for your reply!
> 
> > > Yes I have :) Does it make sense to combine all Selectors above into
> > > one and use a syntax like
> > >
> > >   <map:when test="parameter.myparm eq "foo" and session.myvar gt 3"/>
> >
> > So why not allow these expressions to be raw Java boolean expression
> > which the CodeFactory can include as is in the sitemap generated code,
> > thus avoiding interpretation overhead ?
> 
>         Great idea. I've implemented it and attached it to this email under
>         the name of CodedSelectorFactory. :-)
> 

Nice ! I can see you were not offended by my remarks on your job (I must
also admit JLex and CUP are not so easy to use). This selector is so
much simpler !

Thanks for this.

-- 
Sylvain Wallez
Anyware Technologies

Mime
View raw message