In the docs and examples for the request-parameter selector,
the selection tests are done on the value of a particular request-
parameter
<map:select type="request-parameter">
<map:parameter name="parameter-name" value="command"/>
<map:when test="list">
....
</map:when>
<map:when test="create">
...
</map:when>
...
<map:otherwise>
...
</map:otherwise>
</map:select>
But what I want to do is select different processing
depending on the presence of a request parameter:
if no parameter exists, then process document normally;
if parameter exists, do something with that parameter.
What is the best way to do that?
Will <map:when test=""> work when there's no parameter
as well as a null parameter ?
( Then I could have normal document processing under
that test and parameter processing under <map:otherwise>
Is there any way to select in the sitemap based on the
presence of ANY request parameters ?
I tried adding "*.*?**" as a pattern before my "*.*" pattern
but this didn't seem to work.
-- Steve Majewski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]