Reading that wiki post:

   "For these reasons [...] one should consider using a custom
Navigation Handler adding the following capabilities:"

I've understood that you have to code and plug your custom navigation
handler to inplement this sort of navigation logic. I've never seen
using EL expressions in <to-view-id> elements, anyone know if this is
supported by the standard JSF nav. handler?


Cosma



2006/6/6, Peter Henderson <[EMAIL PROTECTED]>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Purvesh wrote:
> Hi,
>
>  I feel the probelm in your faces-config.xml at navigation-rule
>  I may be wrong since i have just started working on JSF.
>  U have not written <from-view-id> tag. Try that does it works.
>
> <navigation-rule>
>      <from-view-id>/index.jsp</from-view-id>
>     <navigation-case>
>       <from-outcome>view-company</from-outcome>
> 
<to-view-id>/secure/company/view.jsp?companyID=#{quickNewCompanyBean.companyID}</to-view-id>
>       <redirect />
>     </navigation-case>
>   </navigation-rule>
>
> - Purvesh
> --
> View this message in context: 
http://www.nabble.com/Help-with-Navigation-rule-with-parameters-t1740878.html#a4732088
> Sent from the MyFaces - Users forum at Nabble.com.
>
>

Thanks Purvesh

I dont think from-view-id is required. But I added it anyway and get the
same problem...




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEhYWyaeMEhGmZg50RAiiRAJ9QwbclIbSCTFagIEEOwCC2bd009ACffg6Q
zhGGxGzHut1+wHmXmn65BLA=
=tiQs
-----END PGP SIGNATURE-----

Reply via email to