[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2254) Support pages.xml redirect navigation with a4j:include

Siarhei Kudzelia (JIRA) jira-events at lists.jboss.org
Wed May 7 03:29:20 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2254?page=comments#action_12411973 ] 
            
Siarhei Kudzelia commented on JBSEAM-2254:
------------------------------------------

    <page view-id="firstTest.xhtml">
        <navigation>
            <rule if-outcome="next">
                <render view-id="secondTest.xhtml" />
            </rule>
        </navigation>
    </page> 
<page view-id="secondTest.xhtml" action="#{controller.doIt}" />

In that case action for secondTest.xhtml is not executed. But if I add action to firstTest.xhtml then it is executed before each rendering of inner a4j:include pages. May there is any workaround to execute action before rendering inner a4j:include page?

> Support pages.xml redirect navigation with a4j:include
> ------------------------------------------------------
>
>                 Key: JBSEAM-2254
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2254
>             Project: Seam
>          Issue Type: Feature Request
>          Components: JSF Integration
>    Affects Versions: 2.0.0.GA
>         Environment: JBoss Seam 2.0.0.G.A.  RichFaces 3.1.2.G.A.  JBossAS 4.2.2.G.A.
>            Reporter: Konstantin Grigoriev
>             Fix For: 2.1.0.GA
>
>
> Parent page includes firstTest.xhtml using a4j:include.
> firstTest.xhtml contains button:
> <a4j:commandButton action="next" value="next" />
> Navigation in pages.xhtml:
>     <page view-id="firstTest.xhtml">
>         <navigation>
>             <rule if-outcome="next">
>                 <redirect view-id="secondTest.xhtml" />
>             </rule>
>         </navigation>
>     </page>
> After pressing button whole page navigates to secondTest.xhtml, not only "a4j:include" element. In case of using faces-config.xml everything is ok.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list