[
https://issues.jboss.org/browse/JBSEAM-4939?page=com.atlassian.jira.plugi...
]
Rafael Benevides edited comment on JBSEAM-4939 at 8/17/12 9:49 AM:
-------------------------------------------------------------------
It seens that the only way to achieve this is overwriting
com.sun.faces.facelets.impl.DefaultFaceletFactory but only Mojarra 2.2 (for JSF 2.2) will
have this feature available throught <facelet-factory /> tag on faces-config xml
file.
More info at:
http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-611 and
http://java.net/projects/mojarra/sources/svn/content/trunk/jsf-ri/resourc...
was (Author: rafabene):
It seens that the only way to achieve this is overwriting
com.sun.faces.facelets.impl.DefaultFaceletFactory but only Mojarra 2.2 will have this
feature available throught <facelet-factory /> tag on faces-config xml file.
More info at:
http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-611 and
http://java.net/projects/mojarra/sources/svn/content/trunk/jsf-ri/resourc...
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
Assignee: Rafael Benevides
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