Hello,

Why is this java method *not* invoked:

### Border.java ###
   @EventListener(elements = "tab1", events = "onclick")
   public void tab1Clicked()
   {
     logger.info("tab1 clicked");
   }
...and this one *is*. @EventListener(elements = "footerText", events = "onclick")
   public void footerTextOnClick()
   {
     logger.info("footerText clicked");
   }


### Border.html ###

           <div id="myTabContainer">
               <div id="tab1">
                   <div id="treeArea">
<div jwcid="tree" id="tree" style="overflow: auto; width: auto; height: auto;">
                           <a jwcid="nodeLink" href="folder.png">
                               <img jwcid="icon" align="absbottom"/>
<span jwcid="nodeLabel">Node 1</span> </a>
                       </div>
                   </div>
</div> <div id="tab2"> <h3>This is tab 2.</h3>
               </div>
           </div>

...this works (also in Border.html, but outside TabContainer div)
<div id="footerText">No trees were harmed in making this application.</div>


Is this a bug?
Tapestry 4.1.1 (can't use 4.1.2-SNAPSHOT becouse of OGNL-16), Tacos 4.1.0-SNAPSHOT, OGNL 2.6.9

Cheers,
Borut

Reply via email to