Sakai3-Portfolio Structured Data Widgets (Forms)

status key summary assignee resolution updated

Unable to locate Jira server for this macro. It may be due to Application Link configuration.

Description

 The need for Structured Data Widgets bridges both Sakai 3 kernel and user interface functionality. Sakai Portfolio users need to create portfolios from site templates including data entry widgets. The Portfolio Site Template owner would define pages which include data entry widgets for strings, check-boxes, radio buttons, rich text areas, and others.  The Portfolio Site owner would enter data into these widgets, but would not have permission to edit the pages (they would not be able to alter the configuration of the widget or the layout of the page).

The following Structured Data Widgets, and associated configuration options, need to be available for Portfolio Sites:

  1. Form Save/Cancel/Preview Widget
    • This widget will display buttons allowing users to save or cancel cancel all widget form data on the page (fires an event to all widget handlers), and also displays buttons allowing user to preview the page as a published page (without required asterisks and without data input -- read only output of widget data will be displayed).
  2. Form Data String Widget
    • Required flag
    • Multiple string values?
    • Label (optional)
    • Default Value
    • Max Length
    • Data Entry Size
    • Insert existing (replay) option
  3. Form Data Checkbox Widget
    • Number of checkboxes
    • Checkbox labels (optional)
    • Checkbox values
    • Display layout (horizontal/vertical)
    • Default checkbox value
    • Required data flag
    • Insert existing (replay) option
  4. Form Data Radio Widget
    • Number of radio buttons
    • Radio button labels (optional)
    • Radio button values
    • Display layout (horizontal/vertical), default value,
    • Required data flag
    • Insert existing (replay) option
  5. Form Data Select Box Widget
    • Multiple choice?
    • Select text and values
    • Default selection
    • Required data flag
    • Insert existing (replay) option
  6. Form Data Text Area Widget
    • Required data flag
    • Data entry size
    • Label (optional)
    • Default value
    • Max length (optional)
    • Insert existing (replay) option
  7. Form Data Date Widget
    • Required data flag
    • Insert existing (replay) option
  8. Form Data Attachment Widget
    • Required data flag
    • Insert existing (replay) option

Kernel Changes

Site Templates as described in /wiki/spaces/KERNDOC/pages/22665136063 should support both kernel requirements:

  1. Site Templates that allow pages to contain widgets
  2. Page permissions configured such that the portfolio site owner, once created from a portfolio site template, cannot edit their pages, only enter data into existing widgets.

User Interface Changes

tbd