Tree XPage Control using Dojo
Tree Xpage Control version 1.0.4 contains the following new features :
Property name
Type
Default
Description
Sample value
TreeNr
String
“1”
Specify number of trees you use on one xpage
“1” or “2”
Server
“”
The server where the target view's db locates, empty(default) means the session's server.
“127.0.0.1”
DbFullpath
The path of the target view's db on the server, empty(default) means current db.
“treeDemo.nsf”
ViewName
The target view's name.
“All Contacts”
view_CategoryFilter
Filter on the first category in the view.
“Company Contacts”
doc_TitleFieldName
Field name of document shown on the tree's leaf nodes.
“doc_Field1”
doc_TitleEnableHTML
Bool
True
If true, leaf nodes will be rendered as html
True or False
doc_TitleHrefTitle_ColNr
The view colum number that is used to link to. This column includes the full
“3”
doc_TitleHrefLink_ColNr
The view colum number includes the actual link to the document, not including html. Specify when doc_TitleEnableHTML = true
“4”
doc_IconColumnNr
The view colum number includes the name of the icon.
“5”
doc_OnClickEvent
The script(JavaScript) to be run when clicking the tree's leaf nodes. Specify when doc_TitleEnableHTML = false
“var value = jsonStore.getValue(item, "title");
alert(value);”
by
Project
Projectnews
by sean cull 1 decade ago
Discussion | Beware of carriage returns in the view data
by Kjell T Dirdal 1 decade ago
Response | Get value from Tree View
by Jorgen Faye-Lund 1 decade ago
Response | I moved the java-files to the new Java design element and re-compiled.
by F. Kranenburg 1 decade ago
Response | your script contains error
Bug
Release
Documentation
Screenshot