Hi, thanks Kees.
How about jxpath (and/or) request -InputModules? I've tried using those (looks like a possible solution), but cannot figure out the right syntax. I've tried:
<map:parameter name="right" value="{request:getParameter(substring-after(., ':'), 'foo')}"/>
but it throws an error. Any other ideas, anyone? Cocoon 2.1.5.
-Tuomo
On Mon, 20 Dec 2004, Kees van Dieren wrote:
I'm afraid it's not possible. You could make a cocoon action, witch does it. For example, create an action fetchRightPart, witch can be called as following: <map:act type="fetchRightPart"> <map:parameter name="value" value="{request-param:foo}"/> </map:act>
This action could fetch the right part (the part after the ':', and for example, return it in a request-attribute. a Request attribute is accessable via the request-attr template-tag (e.g. {request-attr:foo}
You could also make your own Selector (e.g. SubStringSelector) but I think that making an action is easier Hope it helps. --- Tuomo L <[EMAIL PROTECTED]> wrote:
---------------------------------------------------------------------Hi,
What is the correct syntax for getting a part of a request param's value in sitemap?
For example, parameter "foo" equals "b:ar", and I need to get the part after ":".
-Tuomo
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
