You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Zenberg Ding <ze...@gmail.com> on 2009/03/15 18:01:22 UTC
about "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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: about "OnEvent" no response
Posted by Geoff Callender <ge...@gmail.com>.
Please start a new thread for this new topic.
On 16/03/2009, at 4:01 AM, Zenberg Ding wrote:
> 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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org