Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES_SPEC_PUBLIC-937
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: rogerk
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaserverfaces-spec-public

Disable implicit navigation for JSF 1.x applications

Created: 31/Jan/11 08:25 AM   Updated: 17/Dec/13 03:26 PM
Component/s: Navigation
Affects Version/s: 2.2 Sprint 8
Fix Version/s: 2.3

Time Tracking:
Not Specified

Status Whiteboard:

size_small importance_medium

Tags:
Participants: rogerk


 Description  « Hide

Currently, implicit navigation seems to be enabled for all applications that
are deployed on a container with Mojarra 2.0, even when they have a JSF 1.x
configuration. Because some of the action methods in our 1.x applications can
return an outcome that isn't defined in the navigation rules in faces-
new view (one that possibly doesn't even exist) instead of doing nothing, like
Mojarra 1.2 did.

It would be great for maintaining compatibility with 1.x applications if
implicit navigation is disabled when a 1.x configuration is found. Adding a
context initialization parameter to explicitly disable implicit navigation
could also be useful.
Description
Currently, implicit navigation seems to be enabled for all applications that are deployed on a container with Mojarra 2.0, even when they have a JSF 1.x configuration. Because some of the action methods in our 1.x applications can return an outcome that isn't defined in the navigation rules in faces- new view (one that possibly doesn't even exist) instead of doing nothing, like Mojarra 1.2 did. It would be great for maintaining compatibility with 1.x applications if implicit navigation is disabled when a 1.x configuration is found. Adding a context initialization parameter to explicitly disable implicit navigation could also be useful.



rogerk added a comment - 31/Jan/11 08:27 AM

Additional comments from http://java.net/jira/secure/ViewProfile.jspa?name=omolenkamp

Ok, Bugzilla / some javascript / my browser somehow strips a line starting at
config dot xml. Last attempt:

"Because some of the action methods in our 1.x applications can
return an outcome that isn't defined in the navigation rules in faces dash
config dot xml, Mojarra 2.0 will in such a case redirect to a new view (one
that possibly doesn't even exist) instead of doing nothing, like
Mojarra 1.2 did."