On 14.Oct.2002 -- 02:23 PM, Bobby Mitchell wrote:
> >
> >
> >
> >However, there is a RequestParameterExistsAction that could be used if
> >you knew all possible values for "*"
> >
> Here is what I have tried:
> <map:act type="req-param-exists">
> <map:parameter name="parameter-name" value="cocoon-action-*"/>
> <map:parameter name="parameters" value="cocoon-action-*"/>
> </map:act>
>
> This particular instance matched cocoon-action-prev. I can see that I
> can use 'cocoon-action-prev' and obtain the value 'Prev', but I want the
> value 'prev', the last part of cocoon-action-*. Is this possible with
> this action?
No, not as is, sorry. You would need to modify the action / write your own
based on it. Shouldn't be much of a problem, though.
Actually, the "parameter-names" parameter has no effect. If you would put
another parameter name with a "*" into "parameter-names", it would be required
to have the same string match for "*" as "cocoon-action-"
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>