[ 
https://issues.apache.org/jira/browse/MYFACES-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295741#comment-13295741
 ] 

Leonardo Uribe commented on MYFACES-3570:
-----------------------------------------

As a curious fact, I have notice that set these parameters:

  <context-param>
    <param-name>org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS</param-name>
    <param-value>true</param-value>
  </context-param>
  <context-param>
    
<param-name>org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE</param-name>
    <param-value>true</param-value>
  </context-param>

make it work, but digging more carefully with the debugger, I have seen that 
instead create a new panelGroup with id b4, the panel group with id b2 is used. 
The only way to fix it correctly is do some changes over facelets algorithm but 
anyway, it requires add some special properties to c:forEach, which breaks spec.
                
> c:forEach may cause MyFaces to be buggy (works fine on mojarra)
> ---------------------------------------------------------------
>
>                 Key: MYFACES-3570
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3570
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.1.7
>         Environment: Tomcat JRE 6
>            Reporter: Faissal Boutaounte
>            Assignee: Leonardo Uribe
>         Attachments: MyFaces.zip
>
>
> We are building a dynamic form and to do we're using 4 blocks of code ( pages 
> :b1.xthml,b2.xhtml, b3.xhtml and b4.xhtml ) that are included using a 
> c:forEach loop and ui:include.
> Clicking on a link make the application iterate over a list and includes 
> blocks dynamically.
> imagine section 1 has 1 block and section 2 has tow blocks. when user click 
> section1's link and the section's 2 link it's fine, but when he click 
> section's 1 link he got tow blocks instead of one. it sames like the last 
> block  from section 2 is still here although sectino 1 has only one block

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to