On Tuesday 07 June 2005 00:29, Craig McClanahan wrote:
> On 6/6/05, Emond Papegaaij <[EMAIL PROTECTED]> wrote:
> I don't suppose it is
>
> > possible to have a single rule like this:
> > <navigation-rule>
> >   <from-view-id>/*.jsp</from-view-id>
> >   <navigation-case>
> >     <from-outcome>*</from-outcome>
> >     <to-view-id>/{1}.do</to-view-id>
> >   </navigation-case>
> > </navigation-rule>
>
> The rule matching part of this is *almost* possible.  You can use a
> "*" wild card for <from-view-id> and <from-outcome> values.  But you
> don't get the automatic replacement on the <to-view-id> that you are
> looking for.
>
> > Is implementing my own NavigationHandler the only way to achieve this, or
> > am I missing something?
>
> Nope ... that's the way to do it.

Thank you very much for your help. As I don't plan to use the navigation rules 
from the faces config, I'll go for a straightforward NavigationHandler that 
only supports this single rule, maybe with an optional fallback.

Emond Papegaaij

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

Reply via email to