Hi all,

I'm trying to use RequestAttributeSelector, but I can't understand
what's wrong here:

sitemap.xmap:

<map:match pattern="main">
   <map:act type="session-isvalid">
     <map:act type="request">
       <map:parameter name="parameters" value="true"/>
          <map:select type="request-attribute">
            <map:parameter name="attribute-name" value="status"/>
            <!-- Moving arround on the same report -->
            <map:when test="navigate">
              ...
            </map:when>
            ...
            <map:otherwise>
              OTHERWISE CODE
            </map:otherwise>
...

Checking the core.log I have:

CURRENT ACTIVE REQUESTS: 1
REQUEST PARAMETERS:
 
PARAM: 'fetch' VALUES: '[true]'
PARAM: 'refcube' VALUES: '[30409142]'
PARAM: 'level' VALUES: '[1]'
PARAM: 'folder' VALUES: '[/mart/clientes]'
PARAM: 'status' VALUES: '[navigate]'
PARAM: 'theme' VALUES: '[1]'

The status parameter is "navigate", but the fist test never passes!!

I checked the sitemap.log and I'm seeing the message:
sitemap.log
RequestAttributeSelector: Request attribute 'status' not set -- failing.

Why this is happening if the core.log shows:
PARAM: 'status' VALUES: '[navigate]'

Thanks for any help!

Rui

-- 
Rui Alberto L. GonÃalves <[EMAIL PROTECTED]>
PT InovaÃÃo


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

Reply via email to