myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3811) Fix c:forEach behavior once for all
Date Tue, 29 Oct 2013 19:49:25 GMT
Leonardo Uribe created MYFACES-3811:
---------------------------------------

             Summary: Fix c:forEach behavior once for all
                 Key: MYFACES-3811
                 URL: https://issues.apache.org/jira/browse/MYFACES-3811
             Project: MyFaces Core
          Issue Type: Task
          Components: JSR-344
            Reporter: Leonardo Uribe


It is well known c:forEach tag is broken, and that it is advised to users to avoid this tag
or at least ensure the collection that iterates this component to be static over the application
lifetime. 

But users keep trying over and over to use this tag, perceiving this behavior as a bug. See:

- MYFACES-3570
- MYFACES-3389
- MYFACES-3329

A lot of important fixes has been done in MyFaces code, and with the introduction of 2.2.x,
we can finally try to fix this problem once for all.

The challenge for this issue is we need to save the iteration data (only if the data is Serializable
or StateHolder) into the component state and synchronize this with the generated ids, so if
a new element is added or an existing one is removed, we keep the state and the id generation
consistent. 

Now we have the environment set to do the job: an stable id generation algorithm, a well understood
algorithm for PSS and we are in the process to get a release of 2.2 branch.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message