A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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
An IDE is no substitute for an Intelligent Developer.
Have you checked out
subject: navigation rules
JSF <h:commandButton action> not working
JSF urls and custom filters
Redirecting to another page in Bean
commandLink param problem
Chrome JSF Actions Problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015