You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2009/08/05 09:32:33 UTC
svn commit: r801079 -
/myfaces/trinidad/branches/1.2.11.4-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
Author: matzew
Date: Wed Aug 5 07:32:33 2009
New Revision: 801079
URL: http://svn.apache.org/viewvc?rev=801079&view=rev
Log:
TRINIDAD-1545 - PPR Triggers fail to fire for more than one stamp of the same component
Thanks to Max Starets for his patch!
Modified:
myfaces/trinidad/branches/1.2.11.4-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
Modified: myfaces/trinidad/branches/1.2.11.4-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.11.4-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java?rev=801079&r1=801078&r2=801079&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.11.4-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java (original)
+++ myfaces/trinidad/branches/1.2.11.4-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java Wed Aug 5 07:32:33 2009
@@ -786,7 +786,7 @@
}
- private void _addTargets(Object key)
+ private void _addTargets(UIComponent key)
{
Map<UIComponent, Set<UIComponent>> pl = _getPartialListeners();
Set<UIComponent> listeners = pl.get(key);
@@ -802,6 +802,11 @@
// listening on it also.
partialUpdateNotify(listener);
}
+
+ // JIRA 1545
+ // Re-add listeners to the map to accommodate partial targets for different stamps of
+ // the same component
+ pl.put(key, listeners);
}
}