Hi,
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?
Thanks,
Praveen
Hi Praveen,
yeah, it's a pity that no all events are implemented within tag libs. In this case, this is even documented, see http://devnetmedia.sap.com/html/submitted_docs/htmlbManuals/treeview_dev.html - 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
Detlev
Add a comment