[seam-issues] [JBoss JIRA] (JBSEAM-5127) SeamNavigationHandler is not JSF2 compliant

Ilia Vassilev (JIRA) jira-events at lists.jboss.org
Thu Sep 19 11:54:03 EDT 2013


     [ https://issues.jboss.org/browse/JBSEAM-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilia Vassilev updated JBSEAM-5127:
----------------------------------

    Description: 
>From javax.faces.application.NavigationHandler:

{code}
     * <p class="changed_added_2_0">This method must set the render targets
     * (used in partial rendering) to <code>render all </code>
     * invoking {@link javax.faces.context.PartialViewContext#setRenderAll})
     * if the view identifier has changed as the result of an application
     * action (to take into account <code>Ajax requests</code>).</p> 

    public abstract void handleNavigation(FacesContext context,
                                          String fromAction,
                                          String outcome);
{code}

org.jboss.seam.jsf.SeamNavigationHandler doesn't implement it and therefore an ajax-view-change cannot be detected by PartialViewContext. Result: nothing will be rendered. 

  was:
>From javax.faces.application.NavigationHandler:

<code>
     * <p class="changed_added_2_0">This method must set the render targets
     * (used in partial rendering) to <code>render all </code>
     * invoking {@link javax.faces.context.PartialViewContext#setRenderAll})
     * if the view identifier has changed as the result of an application
     * action (to take into account <code>Ajax requests</code>).</p> 

    public abstract void handleNavigation(FacesContext context,
                                          String fromAction,
                                          String outcome);
<code>
org.jboss.seam.jsf.SeamNavigationHandler doesn't implement it and therefore an ajax-view-change cannot be detected by PartialViewContext. Result: nothing will be rendered. 


    
> SeamNavigationHandler is not JSF2 compliant
> -------------------------------------------
>
>                 Key: JBSEAM-5127
>                 URL: https://issues.jboss.org/browse/JBSEAM-5127
>             Project: Seam 2
>          Issue Type: Bug
>          Components: JSF Integration
>    Affects Versions: 2.3.0.Final
>            Reporter: Ilia Vassilev
>
> From javax.faces.application.NavigationHandler:
> {code}
>      * <p class="changed_added_2_0">This method must set the render targets
>      * (used in partial rendering) to <code>render all </code>
>      * invoking {@link javax.faces.context.PartialViewContext#setRenderAll})
>      * if the view identifier has changed as the result of an application
>      * action (to take into account <code>Ajax requests</code>).</p> 
>     public abstract void handleNavigation(FacesContext context,
>                                           String fromAction,
>                                           String outcome);
> {code}
> org.jboss.seam.jsf.SeamNavigationHandler doesn't implement it and therefore an ajax-view-change cannot be detected by PartialViewContext. Result: nothing will be rendered. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list