xotcl.wu-wien.ac.at
Begin main content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xotcl::Class[i] ::xowf::WorkflowPage

Class Hierarchy of ::xowf::WorkflowPage

  • ::xotcl::Object[i]
    Meta-class:
    ::xotcl::Class[i]
    Methods for instances:
    __api_make_doc, __api_make_forward_doc, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, check, classC, cleanupC, configureC, containsC, copyC, db_0or1rowC, db_1rowC, debug, defaultmethodC, destroyC, destroy_on_cleanup, ds, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearch, forward, hasclass, incrC, infoC, init, instvarC, invarC, isclass, ismetaclass, ismixin, isobject, istype, lappendC, log, method, mixinC, mixinguardC, moveC, msg, noinitC, objectparameter, parametercmdC, proc, procsearch, qn, requireNamespaceC, residualargsC, self, serialize, setC, set_instance_vars_defaults, show-object, substC, traceC, unknown, unsetC, uplevelC, upvarC, volatileC, vwait
    Methods to be applied on the class (in addition to the methods provided by the meta-class):
    getExitHandler, setExitHandler, unsetExitHandler

Class Relations

  • superclass: ::xotcl::Object[i]

Methods

  • instproc answer_is_correct (public)

    <instance of ::xowf::WorkflowPage[i]> answer_is_correct
    Check, if answer is correct based on "answer" attribute of form fields and provided user input.

  • instproc call_action (public)

    <instance of ::xowf::WorkflowPage[i]> call_action \
        [ -action action ] [ -attributes attributes ]
    Call the specified action in the current workflow instance. The specified attributes are provided like form_parameters to the action of the workflow.

    Switches:
    -action (optional)
    -attributes (optional)
  • instproc call_action_foreach (public)

    <instance of ::xowf::WorkflowPage[i]> call_action_foreach \
        -action action  [ -attributes attributes ] page_names
    Call the specified action for each of the specified pages denoted by the list of page names

    Switches:
    -action (required)
    -attributes (optional)
    Parameters:
    page_names
  • instproc edit (public)

    <instance of ::xowf::WorkflowPage[i]> edit args [ args... ]
    Hook for editing workflow pages

    Parameters:
    args
  • instproc footer (public)

    <instance of ::xowf::WorkflowPage[i]> footer
    Provide a tailored footer for workflow definition pages and workflow instance pages containing controls for instantiating forms or providing links to the workflow definition.

  • instproc is_wf (public)

    <instance of ::xowf::WorkflowPage[i]> is_wf
    Check, if the current page is a workflow page (page, defining a workflow)

  • instproc is_wf_instance (public)

    <instance of ::xowf::WorkflowPage[i]> is_wf_instance
    Check, if the current page is a workflow instance (page, refering to a workflow)

  • instproc post_process_dom_tree (public)

    <instance of ::xowf::WorkflowPage[i]> post_process_dom_tree dom_doc \
        dom_root form_fields
    post-process form in edit mode to provide feedback in feedback mode

    Parameters:
    dom_doc
    dom_root
    form_fields
  • instproc post_process_form_fields (public)

    <instance of ::xowf::WorkflowPage[i]> post_process_form_fields \
        form_fields

    Parameters:
    form_fields
  • instproc render_form_action_buttons (public)

    <instance of ::xowf::WorkflowPage[i]> render_form_action_buttons \
        [ -CSSclass CSSclass ]
    Render the defined actions in the current state with submit buttons

    Switches:
    -CSSclass (optional)
  • instproc schedule_action (public)

    <instance of ::xowf::WorkflowPage[i]> schedule_action \
        [ -time time ] [ -party_id party_id ] [ -action action ] \
        [ -attributes attributes ]
    Schedule the specified action for the current workflow instance at the given time. The specified attributes are provided like form_parameters to the action of the workflow.

    Switches:
    -time (optional)
    -party_id (optional)
    -action (optional)
    -attributes (optional)
  • instproc schedule_job (public)

    <instance of ::xowf::WorkflowPage[i]> schedule_job -time time  \
        [ -party_id party_id ] cmd
    Schedule the specified tcl command for the the current package instance at the given time.

    Switches:
    -time (required)
    -party_id (optional)
    Parameters:
    cmd
  • instproc solution_set (public)

    <instance of ::xowf::WorkflowPage[i]> solution_set
    Compute solution set in form of attribute=value pairs based on "answer" attribute of form fields.

  • instproc view (public)

    <instance of ::xowf::WorkflowPage[i]> view [ content ]
    Provide additional view modes: - edit: instead of viewing a page, it is opened in edit mode - view_user_input: show user the provided input - view_user_input_with_feedback: show user the provided input with feedback

    Parameters:
    content (optional)

Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]