You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Carlos Dias <cd...@pontoc.pt> on 2005/07/13 12:08:19 UTC

Test session attribute in sitemap

Hi folks!
How can I get check if a session attribute is not set in the sitemap. 
I'm trying something like:
<map:select type="session-attribute">
    <map:parameter name="attribute-name" value="session-language"/>
        <map:when test="">
            <map:act type="session-store">
                <map:parameter name="param" value="session-language"/>
                <map:parameter name="session-language" value="pt"/>
            </map:act>
        </map:when>
 </map:select>
 
But don't work.

Thanks in advance,
Carlos Dias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Test session attribute in sitemap

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi:

Try to use session input module.

Best Regards,

Antonio Gallardo.

Carlos Dias wrote:

> Hi folks!
> How can I get check if a session attribute is not set in the sitemap. 
> I'm trying something like:
> <map:select type="session-attribute">
>    <map:parameter name="attribute-name" value="session-language"/>
>        <map:when test="">
>            <map:act type="session-store">
>                <map:parameter name="param" value="session-language"/>
>                <map:parameter name="session-language" value="pt"/>
>            </map:act>
>        </map:when>
> </map:select>
>
> But don't work.
>
> Thanks in advance,
> Carlos Dias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org