Filed under
https://issues.apache.org/jira/browse/TAPESTRY-1398
Jesse Kuhnert wrote:
Ah .....It could be that element event listeners don't work in
components, but component event listeners will work.
Did anyone file a bug for that?
On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Hello,
event listeners aren't called in components, only in pages. I had the
same problem and then moved the listener to enclosing page. See
"@EventListener in Border" post.
-Borut
On 3.4.2007 13:55, Wojtek Ciesielski wrote:
> Hi all,
>
>>> I cant get dojo EventListener to work.
>
> The same happens with me :( Are there any preparatory steps to perform
> to use EventListener? I have a template :
>
> MyTemplate:
> <span jwcid="@Shell" title=".:: Title ::."
> doctype='HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN'
> ajaxEnabled="true"
> browserLogLevel="DEBUG"
> debugEnabled="true">
> <body jwcid="@Body" onunload="purge(document)">
> <div jwcid="dp2scripts" />
> <div id="someId" href="#">click here...</div>
> ...
> </body>
> </span>
>
> Within MyTemplate.java:
> public abstract class MyTemplate extends BaseComponent {
> private final static Logger log =
Logger.getLogger(DP2Template.class);
> @EventListener(elements = "someId", events = "onmouseover")
> public void testEvent(PageEvent pe) {
> log.info("Caught click!");
> }
> }
>
> And it DOES NOT WORK :( Nothing appears on Tomcat's console...
>
> Any advice would be greatly appreciated...
> Wojtek
>
> ----------------------------------------------------------------------
> On wie jak zyskać, a nie stracić.
> Wideofelietony Tadeusza Mosza. Zobacz >> http://link.interia.pl/f1a3c
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]