You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "::SammyRulez::" <sa...@gmail.com> on 2006/01/24 10:02:00 UTC

wildcard navigation

Hi all

I'm trying to implement som generic behaviour  in mai navigation
config using wildcard character

<navigation-rule>
        <from-view-id>/jsp/shipper/*</from-view-id>
        <navigation-case>
            <from-outcome>REPORTS</from-outcome>
            <to-view-id>/jsp/shipper/modules/reports/index.jsp</to-view-id>
        </navigation-case>
    </navigation-rule>

but it do not work at all... the page in the wildcard scope just
reload instead of routing to the right view-id

any clues?

thanks

--
::SammyRulez::
http://sammyprojectz.blogspot.com

Re: wildcard navigation

Posted by Hansjörg Meuschel <hj...@gmx.de>.
Hi, try to use:

<navigation-rule>
        <from-view-id>*</from-view-id>
        <navigation-case>
            <from-outcome>REPORTS</from-outcome>
            <to-view-id>/jsp/shipper/modules/reports/index.jsp</to-view-id>
        </navigation-case>
    </navigation-rule>


::SammyRulez:: wrote:

>Hi all
>
>I'm trying to implement som generic behaviour  in mai navigation
>config using wildcard character
>
><navigation-rule>
>        <from-view-id>/jsp/shipper/*</from-view-id>
>        <navigation-case>
>            <from-outcome>REPORTS</from-outcome>
>            <to-view-id>/jsp/shipper/modules/reports/index.jsp</to-view-id>
>        </navigation-case>
>    </navigation-rule>
>
>but it do not work at all... the page in the wildcard scope just
>reload instead of routing to the right view-id
>
>any clues?
>
>thanks
>
>--
>::SammyRulez::
>http://sammyprojectz.blogspot.com
>
>
>  
>


-- 
Mit freundlichen Grüßen,

------------------------------
 Hansjörg Meuschel
 Martin-Treu-Str. 40
 90403 Nürnberg
 Tel.   +49 (0)911 274 278 1
 mobil: +49 (1)60 725 3479
 mail:  hjmeu@gmx.de
 http://www.meuschel.net