xowiki::Package instproc www-edit-category-tree (public)

 <instance of xowiki::Package[i]> www-edit-category-tree

Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl

This web-callable method redirects the caller to the category admin page for a certain category tree. The "object_id" and "tree_id" have to be provided as a query parameter.

Testcases:
No testcase defined.
Source code:
set object_id [:query_parameter object_id:int32]
set tree_id [:query_parameter tree_id:int32]

# flush could be made more precise in the future
:flush_page_fragment_cache -scope agg
:returnredirect [export_vars  -base [site_node::get_package_url -package_key categories]/cadmin/tree-view {
                       tree_id {ctx_id $object_id} object_id
                     }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: