@EventListener produces multiple events
---------------------------------------
Key: TAPESTRY-1241
URL: https://issues.apache.org/jira/browse/TAPESTRY-1241
Project: Tapestry
Issue Type: Bug
Affects Versions: 4.1.1
Environment: Tapestry 4.1.1 and 4.1.2-20070121
Reporter: Kristian Marinkovic
Priority: Blocker
Adding an EventListener to the parent HTML element seems to add additional
@EventListener to the Tapestry components on every Javascript event. This
results
in the generation of multiple "tapestry.event(hash)=function..." statements
although
only one is correct. This gets apparent when the page is submitted and
re-rendered
again.
i added a maven2 example project to reproduce the bug.
please follow these steps:
1) click on "submit"
2) click on the second and forth list element and watch the console (should
print list-0 and list-2... the target component of the javascript event)
3) click again on "submit" (you might change the value if you want)
4) click again on the second list element and watch the console -> list-0 will
appear twice
5) take a look at the generated page to see the multiple tapestry.event
statements
--
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]