%3 ::xowiki::File ::xowiki::File build_name demarshall full_file_name html_content marshall pretty_name render_content render_icon search_render www-download ::xowiki::Page ::xowiki::Page → container_already_rendered → find_slot → get_tags → import → quoted_html_content → save_tags __debug_known_field_names add_computed_instance_attributes adp_subst anchor anchor_parent_id build_instance_attribute_map build_name can_be_linked can_contain can_link can_save category_export category_import changed_redirect_url check_adp_include_path check_unresolved_references condition=is_folder_page condition=match condition=regexp content_header_append content_header_get copy_content_vars create_form_field create_form_fields create_form_fields_from_form_constraints create_form_page_instance create_link create_raw_form_field css_class_name default_instance_attributes demarshall detail_link div edit_set_default_values edit_set_file_selector_folder error_during_render error_in_includelet evaluate_form_field_condition exists_form_parameter exists_query_parameter field_names find_slot footer form_field_exists form_field_flush_cache form_field_index form_parameter get_anchor_and_query get_content get_description get_folder get_form_data get_html_from_content get_ids_for_bulk_actions get_instance_attributes get_nls_language_from_lang get_parent_object get_property_from_link_page get_query_parameter_return_url get_rich_text_spec get_target_from_link_page htmlFooter include include_content initialize_loaded_object instantiate_includelet is_folder_page is_form is_link_page is_new_entry is_unprefixed item_ref lang lookup_cached_form_field lookup_form_field map_categories map_party marshall mutual_overwrite_occurred new_link normalize_internal_link_name notification_detail_link notification_notify notification_render notification_subject physical_item_id physical_package_id physical_parent_id pretty_link pretty_name query_parameter record_last_visited references references_update regsub_eval rename render render_content render_icon render_includelet reset_resolve_context resolve_included_page_name return_redirect_without_params reverse_map_party reverse_map_party_attribute save save_data save_new search_render self_link_ids serialize_relocatable set_content set_resolve_context show_fields stats_record_count stats_record_detail substitute_markup translate unescape unset_temporary_instance_variables update update_publish_status validate=form_constraints validate=form_input_fields validate=name validate=page_order www-autosave-attribute www-bulk-delete www-clipboard-add www-clipboard-clear www-clipboard-content www-clipboard-copy www-clipboard-export www-create-new www-create-or-use www-csv-dump www-delete www-delete-revision www-diff www-duplicate www-edit www-list www-make-live-revision www-popular-tags www-revisions www-save-attributes www-save-tags www-toggle-publish-status www-validate-attribute www-view ::xowiki::File->::xowiki::Page ::xowiki::PageTemplate ::xowiki::PageTemplate → count_usages count_usages update www-delete ::xowiki::PageTemplate->::xowiki::Page ::xowiki::PageInstance ::xowiki::PageInstance → get_list_from_form_constraints → get_short_spec_from_form_constraints adp_subst count_usages create_raw_form_field demarshall field_names_from_form_constraints get_field_label get_field_type get_form get_form_constraints get_from_template get_short_spec get_template_object render_content template_vars update widget_spec_from_folder_object www-use-template ::xowiki::PageInstance->::xowiki::Page ::xowiki::PlainPage ::xowiki::PlainPage render_content set_content substitute_markup unescape ::xowiki::PlainPage->::xowiki::Page ::xo::db::CrItem ::xo::db::CrItem ::xowiki::Page->::xo::db::CrItem ::xowiki::FormPage ::xowiki::FormPage → compute_filter_clauses → fetch_object → filter_expression → get_all_children → get_folder_children → get_form_entries → get_super_folders → get_table_form_fields → sql_value action_url adp_subst combine_data_and_form_field_default compute_link_properties condition=in_state condition=is_true configure_page=regression_test create_category_fields create_form_field create_form_fields create_form_fields_from_names demarshall exists_property extra_html_fields field_names field_names_from_form footer form_field_as_html form_fields_sanity_check get_anon_instances get_form_constraints get_form_value get_parameter get_property get_value group_assign group_require hstore_attributes include_header_info initialize initialize_loaded_object is_folder_page is_form is_link_page langstring lappend_property load_values_into_form_fields map_value map_values marshall new_link notification_render post_process_dom_tree post_process_form_fields pretty_name property render_content render_form_action_buttons render_icon render_thumbnails reverse_map_value reverse_map_values setCSSDefaults set_content set_form_data set_form_value set_live_revision set_property set_publish_status update update_attribute_from_slot update_item_index update_langstring_property www-edit www-file-upload www-toggle-modebutton ::xowiki::FormPage->::xowiki::PageInstance

Class ::xowiki::PageInstance

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

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
    default (optional)
    Returns:
    either the property value or a default value

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xowiki::PageInstance instproc get_from_template xowiki::PageInstance instproc get_from_template test_create_form_with_form_instance->xowiki::PageInstance instproc get_from_template

    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.

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_return_url ad_return_url (public) xowiki::PageInstance instproc www-use-template xowiki::PageInstance instproc www-use-template xowiki::PageInstance instproc www-use-template->ad_return_url

    Testcases:
    No testcase defined.