File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 14, 2011
Mar 12, 2011 10:29:12
How to set a
in navigation rules ? I did like this :
<navigation-rule> <navigation-case> <from-outcome>aPage.xhtml</from-outcome> <to-view-id>aServlet</to-view-id> <redirect> <view-param> <name>fileId</name> <value>aValue</value> </view-param> </redirect> </navigation-case> </navigation-rule>
but doesn't work. It takes me to the aServlet.jsf?fileId=aValue page :|. Any help please. Thnx in advance.
Sorry for my English, it is not my first language.
Joined: Jun 25, 2001
Mar 14, 2011 05:41:43
Someone just asked this, but I'll repeat the answer, briefly. If you want more info, search this forum for the other answer.
You cannot target a non-JSF URL from a navigation rule. Not
, not JSPs. Only
Customer surveys are for companies who didn't pay proper attention to begin with.
It is sorta covered in the
JavaRanch Style Guide
subject: navigation rules
JSF urls and custom filters
commandLink param problem
Redirecting to another page in Bean
Chrome JSF Actions Problem
JSF <h:commandButton action> not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014