Hi Shane,

Shane McEneaney wrote:

<map:match pattern="get*">
        <map:act type="locale"/>
        <map:act type="session-validator">
          <map:parameter name="descriptor"
value="descriptors/crs-params.xml"/>
          <map:act type="{../1}">
           ..........

The code above fails and I have found no documentation to suggest if there
is a way of doing it.

this way it won't work. The sitemap is compiled to a Java program (tomcat/work/.../sitemap_xmap.java). AFAIK the action references are created at compile time.

But you could use the ParameterSelector to implement
such sitemap logic:
http://cocoon.apache.org/2.1/userdocs/selectors/parameter-selector.html

Of course, you will have to add a snippet for each possible
{../1} value. But I guess this won't be a problem as you have to
define your action types as well.

HTH,
Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to