Class ::xowiki::PageInstance

::xowiki::PageInstance[i] create ...

Defined in

Class Relations

  • class: ::xo::db::CrClass[i]
  • superclass: ::xowiki::Page[i]
  • subclass: ::xowiki::FormPage[i]

Methods (to be applied on the object)

  • get_list_from_form_constraints (scripted)

  • get_short_spec_from_form_constraints (scripted)

Methods (to be applied on instances)

  • adp_subst (scripted)

  • count_usages (scripted)

  • create_raw_form_field (scripted)

  • demarshall (scripted)

  • field_names_from_form_constraints (scripted)

  • get_field_label (scripted)

  • get_field_type (scripted)

  • get_form (scripted)

  • get_form_constraints (scripted)

  • get_from_template (scripted, public)

     <instance of xowiki::PageInstance[i]> get_from_template var \
        [ default ]

    Get a property from the parent object (template). The parent object might by either an ::xowiki::Form or an ::xowiki::FormPage

    Parameters:
    var (required)
    default (optional)
    Returns:
    either the property value or a default value

    Testcases:
    create_form_with_form_instance
  • get_short_spec (scripted)

  • get_template_object (scripted)

  • instance_attributes (setter)

  • mime_type (setter)

  • page_instance_id (setter)

  • page_template (setter)

  • render_content (scripted)

  • template_vars (scripted)

  • update (scripted)

  • widget_spec_from_folder_object (scripted)

  • www-use-template (scripted, public)

     <instance of xowiki::PageInstance[i]> www-use-template

    This web-callable method can be used to change the "template" of a PageInstance. The caller provides the "form" as query parameter which should be used in future for handling the instance parameters of the PageInstance. This method can be as well be used for changing the associated workflow of a workflow instance.

    Testcases:
    No testcase defined.