tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou (JIRA)" <...@tapestry.apache.org>
Subject [jira] Updated: (TAPESTRY-2250) EventListener in components that get included in a page within a loop are triggered incorrectly
Date Sun, 09 Mar 2008 05:41:46 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-2250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Andreou updated TAPESTRY-2250:
--------------------------------------

    Affects Version/s: 4.1.5

> 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
>    Affects Versions: 4.1.5
>            Reporter: Andreas Andreou
>         Attachments: tap-2250.zip
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message