Em Sun, 15 Mar 2009 23:11:02 -0300, Ding Zenberg <zenberg.d...@gmail.com>
escreveu:
<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.
Try adding t:id="xtree" to <div t:type="xtree"/>. @OnEvent's component
attribute is a component id (set by t:id), not the component name, as it
may seem at first.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org