Skip to main content

How to navigate by URL in jsf?

1 reply [Last post]
joanl
Offline
Joined: 2008-09-25

Hi!
I want in my web jsf app to set in execution time the contents of the in , of faces-config.xml. Decorating NavigationHandler etc.. i only can set logical view name () just before search . 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 and before the use of (phisical file page)?
tia.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

webtier@javadesktop.org wrote:
> Hi!
> I want in my web jsf app to set in execution time the contents of the in , of faces-config.xml. Decorating NavigationHandler etc.. i only can set logical view name () just before search . 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 and before the use of (phisical file page)?
> tia.
> [Message sent by forum member 'joanl' (joanl)]
>
> http://forums.java.net/jive/thread.jspa?messageID=301584
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>
Unfortunately, the NavigationHandler is sort of a black box currently,
so there is no way to modify
the behavior of the default NavigationHandler implementation.

This kind of custom support will need a full NavigationHandler
implementation instead
of decoration. Something I hope we can improve on in JSF 2.0.

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net