xowiki::Package instproc resolve_page (public)

 <instance of xowiki::Package[i]> resolve_page \
    [ -use_package_path use_package_path ] [ -simple on|off ] \
    [ -lang lang ] object method_var

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

Try to resolve from object (path) and query parameter the called object (might be a package or page) and the method to be called.

Switches:
-use_package_path (optional, defaults to "true")
-simple (optional, boolean, defaults to "false")
when set, do not try to resolve using item refs, prototype pages or package_path
-lang (optional)
language used for resolving
Parameters:
object (required)
element name to be resolved (not an XOTcl object)
method_var (required)
output variable for method to be called on the object
Returns:
instantiated object (Page or Package) or empty

Testcases:
xowiki_test_cases, path_resolve
[ show source ]
Show another procedure: