on 08-06-2008 5:29 AM
Hai to all
i want to know how to do this.
treetype is item treetype.
under this 3 childs are there.when ever i click on child the curresponding childview should display.
i maintained 3 views under having inbound plug.
in tree view i maintained one outbound plug.
how to triger cursponding view inbound plug.
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
nikhil
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.