on 2008 Nov 21 6:42 AM
Hi,
Am looking forward to create a tree in which the tree cell render should contain a check box. Is it possible set check box in WebDynpro Tree element?
Please help me to proceed...
Thanks,
RPN
Hi,
Some days before i had a requirement to set action for Tree child elements, for that I found a solution in SDN. I dont remember the thread, but i have code. So workaround by implementing checkbox. Code follows as below
1. Create Action showView() with one parameter named element of type your TreeNodeType binded node element. (say IPrivate<CompName>View.ITreeNodeElement)
2. In wdDoModifyView, you need to do parameter mapping.
IWDTreeNodeType treenode = (IWDTreeNodeType)view.getElement("TreeNodeTypeName");
treenode.mappingOfOnAction().addSourceMapping("path","element");
3. in onAction showView()
String target_view = element.getName(); // lead selected element's Name attribute
if("first".equals(target_view))
wdThis.wdFirePlug_ToFirstView(); // Fire plug out for first view
.
. // same condition checking for other views
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
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.