Sakai3-Portfolio Structured Data Widgets (Forms)
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:
- 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).
- Form Data String Widget
- Required flag
- Multiple string values?
- Label (optional)
- Default Value
- Max Length
- Data Entry Size
- Insert existing (replay) option
- 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
- 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
- Form Data Select Box Widget
- Multiple choice?
- Select text and values
- Default selection
- Required data flag
- Insert existing (replay) option
- Form Data Text Area Widget
- Required data flag
- Data entry size
- Label (optional)
- Default value
- Max length (optional)
- Insert existing (replay) option
- Form Data Date Widget
- Required data flag
- Insert existing (replay) option
- 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:
- Site Templates that allow pages to contain widgets
- 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