xowiki::Page instproc save_new (public)
<instance of xowiki::Page> save_new args [ args... ]
Defined in /var/www/openacs/packages/xowiki/tcl/xowiki-procs.tcl
Check whether the page can be saved under its parent, flush the page fragment cache, and delegate creation to the next method. Check unresolved references after saving.
- Parameters:
- args (required)
- Arguments passed to the next save_new method.
- Returns:
- The identifier returned by the save operation.
- Testcases:
- nested_self_references
Source code: if {![:can_save]} {error "can't save this page under this parent"} ${:package_id} flush_page_fragment_cache set id [next] :check_unresolved_references return $idXQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)