Oh, That's just what I trying. Write a tree component is my evaluating t5 's way.

And I still confused with how to fire a js tree's envents such as "onCheckNode(itemId) onExpandNode(itemId)" on t5's way.

Is there any document on this subject?


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

Reply via email to