on 11-24-2005 12:03 PM
hi,
is there any other controller with which i can create hierarchies(other than treebynestingtablecolumn and tree).
Hi kukku,
first youhave to insert master column by right clicking your table. then bind the property onLoadChildren of the treebynestingcolumn to some method.Add a parameter of type TreeElement in this method.
Also don't forget to bind the property expanded to some boolean value.
now in the doModify do the mapping for this parameter in the method
like
IWDTreeByNestingTableColumn tn =(IWDTreeByNestingTableColumn)view.getElement("treebynestingcolumnID");
tn.mappingOfOnLoadChildren().addSourceMapping("path","treeelementparameter");
now if you write the code to add elements to the tree inside the method onLoadChildren , it wil get added as a hierarchy of the element that is clicked.
regards,
rahul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi rahul,
u can mail me ur application at yellowkukku@yahoo.co.in
i succeeded in getting two major nodes,but i m not getting the sub nodes and ite descriptions now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i tried the same procedure.but not succeeded.can u tell me what this "path" refers to?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"path" is the name of the event parameter and must exactly be written this way in the parameter mapping statement. Later Web Dynpro versions have an interface with constants for these parameter names and also support for creating parameter mappings declaratively in NWDS.
Referring to your first question: Why don't you want to use Tree or TreeByNestingTableColumn?
Armin
hi rahul,
my desired output is like this:
branch.............id..................address
Science.............01................. st john's college
-bio .............011..................st john's college
-student1.......011b.................abc house
-student2.......012b.................xyz house
-maths ..........02...................st johnscollege
-student1.......021..................ghy house
i created action loadchildcatalogentries with parameter "element" of type ICatalogEntriesElement.then i created anothe action Select with the same parameter "element" and of same type.proceeded in the same way as in the doc.but i dont know vr i have gone wrong.plz help me.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.