cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: Codeselector
Date Tue, 21 Nov 2006 05:54:46 GMT

I've never heard of a CodeSelector, either.

On Nov 14, 2006, at 12:40 PM, Ralph Rauscher wrote:

> Essentially, I'd like to have sth like an or, saying
>
> <map:when test="(test1 == true or test2 == true or test3 == true)">
> ...
> </map:when>
>
> execute this pipeline fragment. This would ideally be real code inside 
> the test attribute - java or javascript like we're also using for 
> flowscripts.
>
> Problem with the conventional selectors is that I need to have a 
> map:when for each statement I want to check - which would already be 3 
> in the case above, effectively writing the same code again and again 
> within every distinct map:when.

There are probably other ways to do what you want... what would your 
tests look like, specifically?

—ml—


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


Mime
View raw message