webtier@glassfish.java.net

How to navigate by URL in jsf?

From: <webtier_at_javadesktop.org>
Date: Thu, 25 Sep 2008 07:02:17 PDT

Hi!
I want in my web jsf app to set in execution time the contents of the <to-view-id> in <navigation-case>, <navigation-rule> of faces-config.xml. Decorating NavigationHandler etc.. i only can set logical view name (<from-outcome>) just before search <to-view-id>. I want to set destination url depending on a parameter stored in a database, ex. '/pdf/12345.pdf', on 12345 is the parameter. Anyone knows where/how to set just after jsf logical flow process <navigation-rule> and before the use of <to-view-id> (phisical file page)?
tia.
[Message sent by forum member 'joanl' (joanl)]

http://forums.java.net/jive/thread.jspa?messageID=301584