I still confused with how to fire javascript object event on t5's
components way. so the code maybe not resonable :(
Is there any document on it?
How do you fire the 'click' event in your xtree component?
This 'click' is not the one 'click' in html dom.
Thanks,
DH
----- Original Message -----
From: "Ding Zenberg"
To: <users@tapestry.apache.org>
Sent: Monday, March 16, 2009 10:11 AM
Subject: "OnEvent" no response
Hi all,
Here is the case, I put one component named "xtree" on start page,
then I wrote on method to receive events from this component.
<div t:id="treebox" t:type="t5/SidePanel" style="height:600px">
<div t:type="xtree"/>
</div>
@OnEvent(value="click", component="xtree")
void onTreeClick() {
System.out.println("tree clicked ...");
}
but there is no output expected. I want to know where's problem.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org