You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Dennis Byrne <de...@dbyrne.net> on 2006/09/26 00:40:22 UTC

Re: Navigation with dynamic URLs

Steffen,

Please use user@myfaces.apache.org for these questions.  Thanks.

Dennis Byrne

>-----Original Message-----
>From: born@steffen-born.de [mailto:born@steffen-born.de]
>Sent: Friday, September 22, 2006 10:24 AM
>To: commits@myfaces.apache.org
>Subject: Navigation with dynamic URLs
>
>Hi everybody,
>
>I'm stuck. I have found the following URL
>http://wiki.apache.org/myfaces/Custom_Navigation_Handler. The last part
>(/view.jsp?objectId=#{view.objectId}) would solve my problem, but unfortunately
>it doesn't work. MyFaces render this to the URL
>http://localhost:8080/productPage.jsf?product_id=#{product.jsf
>
>This is my navigation rule
><navigation-rule>
>        <from-view-id>*</from-view-id>
>        <navigation-case>
>            <from-outcome>order</from-outcome>
><to-view-id>/productPage.jsf?product_id=#{product.manufacturerPartNr}</to-view-id>
>            <redirect/>
>        </navigation-case>
>    </navigation-rule>
>
>Does anybody know how I can get this example running on my environment?
>
>Thanks a lot
>Steffen
>
>