Skip to Content
author's profile photo Former Member
Former Member

Event not working in Tree Control


I have built a dynamic tree in JSP using Tree Control.

When I add a event "onNodeClick", I get a runtime error Attribute 'onNodeClick' not found in tag library 'HTMLB' for the tag treeNode. Why is this happening. I'm on EP6SP2. If I build a tree with out using JSP in doProcessBeforeOutput, method "setOnNodeClick" works perfectly. Why is it not working in JSP? What is that Im doing wrong?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 02, 2005 at 12:59 PM

    Hi Praveen,

    yeah, it's a pity that no all events are implemented within tag libs. In this case, this is even documented, see - in the Events table for TreeNode you will see that there are only Classlib entries, no TagLib entries...

    A workaround is setting this within JSP page programmatically, as John Peter showed for RadioButtons in onClick on radioButtonGroup (as Moshiul Shovon stated right, there it must have been on the RadioButtonGroup).

    Hope it helps


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.