cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: "not so many levels" error?
Date Thu, 15 Jan 2004 01:24:00 GMT
On 15.01.2004 02:01, Mark Lundquist wrote:

>>>         <map:match pattern="*">
>>>           <map:parameter name="foo" value="{1}"/>
>>>         </map:match>
>>> ...and I see:
>>>     Error while evaluating '{1}' : not so many levels
>>> So what am I not getting?
>> Humm,, with that syntax you are sending the parameter to the matcher.
> D'oh!
> I know exactly what that syntax does when I'm *trying* to do something 
> like that :-)
>>  Are you actually trying to send the parameter to a generator?
> No, I'm not.  What I really wanted to do was to capture one of the 
> matches into a parameter that I could then reference later on.
> For one thing, I was confusing 'parameter' a la <map:parameter> with the 
> parameters in the Map object returned by matchers and actions...
> But is there a way to do what I was trying to do?

What *are* you trying to do? "Capture one of the matches into a 
parameter" is your solution to your problem. But what's your problem?

Please don't feel offended, but again I must say you are thinking a 
programming way, but the sitemap is declarative. It just does not work 
this way.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message