on 08-15-2005 10:55 PM
How do i get the Tree node component in JSPDynpage?
If i use,
TreeNode tn = (TreeNode)this.co........ByName("node1");
I get an error: cannot cast the component to TreeNode.
Iam trying to set values through the set methods of the tree on JSP.
I want the Treenode to be open even after clicking the node.
Ex:Access a node and then
set.Open(true) of that node ..in itz method on Dynpage.
Thanks for all the hints!
Hi Taylor,
YOu could do the following.
public void onNodeClick(Event event) throws PageException {
IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
TreeNodeSelectEvent nodeselect = (TreeNodeSelectEvent) event;
String sel_node = nodeselect.getNodeKey();
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.