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

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Mon Aug 13 04:12:15 EDT 2012


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

Marek Schmidt commented on JBSEAM-4939:
---------------------------------------

[~vdedik], I believe there has to be at least an action, e.g. like the following example, which works with Seam 2.2, but not with Seam2.3 if "home.xhtml" doesn't exist:

{code}
<page view-id="/home.xhtml">
    <action execute="#{fooAction.foo}"/>
    <navigation from-action="#{fooAction.foo}">
        <redirect view-id="/welcome.xhtml"/>
    </navigation>
</page>
{code}
                
> 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