myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: list <from-outcome>
Date Tue, 11 Apr 2006 14:24:13 GMT
One thing you can do is use "*".   Not sure if this works in your situation.

I remember someone posting that you could put EL expressions in the
navigation rules, but I can't remember if this was a customization of
the NavigationHandler.

On 4/11/06, Jan <jan@k750iforum.de> wrote:
> Hi there,
>
> can someone tell me if there is a possibility to declare more than one
> <from-outcome> definition in faces-config.xml?
>
> This is what I have for now:
>                 <navigation-case>
>
> <from-action>#{LoginBackingBean.checkLogin}</from-action>
>                         <from-outcome>a</from-outcome>
>                         <to-view-id>/project.jsp</to-view-id>
>                 </navigation-case>
>
> But I would like something in that way:
>                 <navigation-case>
>
> <from-action>#{LoginBackingBean.checkLogin}</from-action>
>                         <from-outcome>a OR b OR c</from-outcome>
>                         <to-view-id>/project.jsp</to-view-id>
>                 </navigation-case>
>
> Do I have to write a single navigation-case for each option, or is there a
> better way to do so?
> Thanks in advance :)
>
> Jan
>
>
>

Mime
View raw message