[
https://issues.jboss.org/browse/JBSEAM-4939?page=com.atlassian.jira.plugi...
]
Jason Porter commented on JBSEAM-4939:
--------------------------------------
Let me make sure I understand what's going on here:
home.xhtml doesn't exist, but if home.seam (the default mapping of xhtml to jsf views)
is entered into the browser we want an action to happen and also redirected to
welcome.xhtml?
pages.xml does not support "virtual" view-id without file
on disk
-----------------------------------------------------------------
Key: JBSEAM-4939
URL:
https://issues.jboss.org/browse/JBSEAM-4939
Project: Seam 2
Issue Type: Bug
Components: Core, Framework
Affects Versions: 2.3.0.BETA1
Environment: JBOSS 7.1 AS + JSF2.1 + Richfaces 4.2.0.Final
Reporter: Andrea Martino
Labels: navigation
Fix For: 2.3.0.CR1
In Seam 2.2.x, it is possible to define a "virtual" view in pages.xml without
any related file on disk.
For example, in Seam 2.2.x it is possible to define a redirect as following without
having any "home.xhtml" file on disk:
<page view-id="/home.xhtml">
<navigation>
<redirect view-id="/welcome.xhtml"/>
</navigation>
</page>
In Seam 2.2.x, when entering "/myapp/home.seam" the browser is correctly
redirected to "/myapp/welcome.seam". In Seam 2.3.0.Beta1 in JBOSS 7.1 AS, a
FacesFileNotFoundException is thrown. This issue is similar to JBSEAM-4926.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira