[seam-issues] [JBoss JIRA] (JBSEAM-4939) pages.xml does not support "virtual" view-id without file on disk

Vaclav Dedik (JIRA) jira-events at lists.jboss.org
Fri Aug 10 08:42:07 EDT 2012


    [ https://issues.jboss.org/browse/JBSEAM-4939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710898#comment-12710898 ] 

Vaclav Dedik commented on JBSEAM-4939:
--------------------------------------

I tired to create home.xhtml in my project and with the page definition (similar to the above) in pages.xml, it doesn't work either. So this might not be a jsf-2-related issue at all, but a Seam bug. Or both.
                
> 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: Vaclav Dedik
>              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

        


More information about the seam-issues mailing list