[ 
https://issues.apache.org/jira/browse/TRINIDAD-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633564#action_12633564
 ] 

Andrew Robinson commented on TRINIDAD-1238:
-------------------------------------------

Relevant code (svn revision 698036 on trunk_1.2.x):

trinidad/trunk_1.2.x/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/context/RequestContextImpl.java

Line 595
Line 707
Line 536

So "addPartialTriggerListeners" adds the input text component (not client ID) 
as a listener to the button (line 536)
When the button's event is broadcast, partialUpdateNotify is called (line 595)
That calls "_addTargets" (line 707) which adds the target with the wrong client 
ID (stamp is lost)

If instead of:
Map<UIComponent, Set<UIComponent>> pl = _getPartialListeners();

We used:
Map<String, Set<String>> pl = _getPartialListeners();
Where the strings are the client IDs (source client IDs and target client IDs), 
this would not be an issue

> Allow children of iterator to use partialTriggers
> -------------------------------------------------
>
>                 Key: TRINIDAD-1238
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1238
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>          Components: Components
>    Affects Versions: 1.0.9-core, 1.2.9-core
>            Reporter: Matt Cooper
>         Attachments: test.jspx, testCase.diff
>
>
> Today, if you have an iterator that stamps out components, these components 
> cannot have partialTriggers where, for example, a specified button would not 
> cause the component to be PPRed when clicked.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to