editpage

The attribute editpage is used when you use action="edit". It is the page, where you go after you clicked on a "button" (btn_add, btn_edit,..) to perform further actions like inserting, updating, deleting and so on.
The url wich will be created for each node will look like this:

editpage "?id=" or "&id=" node-id "&action=" add/edit/delete/up/down

for example: http://www.megalingo.com/editpage.cfm?id=75&action=edit

<cf_dbtree
datasource="datasource name"
username="username"
password="password"
table="table name"
id="column name"
parent="column name"
contentfield="column name"
action="edit"
type="simple / advanced"
editpage="myeditpage.cfm"
btn_addroot="[create root node]"
btn_add="[add]"
btn_edit="[edit]"
btn_delete="[delete]"
btn_up="[up]"
btn_down="[down]"
btn_moveroot="[move to root level]">

 

 

Add your comment to this page Add Comment
Join for a free account, or login if you are already a member.