EventListener in components that get included in a page within a loop are 
triggered incorrectly
-----------------------------------------------------------------------------------------------

                 Key: TAPESTRY-2250
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2250
             Project: Tapestry
          Issue Type: Bug
            Reporter: Andreas Andreou


In a simple component (@Selector) that has a PropertySelection (named data) and 
this:

    @EventListener(targets="data", events="onchange")
    public void doSelect() { System.out.println("Selected: " + getValue()); }

and in a page that includes this let's say 3 times using @For:

<form jwcid="@Form">
    <span jwcid="@For" source="ognl:{1,2,3}">
        <span jwcid="@Selector"/>
   </span>
</form> 

Changing any select correctly starts an ajax request, but the value printed is 
always the one of the last select.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to