Products.MightyCal.DataEntry.WidgetMakers (version 1.14) | index /home/zope/lib/python/Products/MightyCal/DataEntry/WidgetMakers.py |
Field edit widget definitions for the MightyCal product. WidgetMaker objects are intended to provide the ability to generate input/edit widgets for many different situations, as well as isolating all widget construction logic from the modules that deal with data directly. In addition to generating the HTML (or WML, or what have you) for the widget, the WidgetMaker also has the ability to process the data returned from a submission event, and turn it back into appropriate larger chunks. For instance, date widgets may allow for several <select> widgets to be created for entering each part of the date. The WidgetMaker that creates those <select> boxes needs to know how to combine the various return values from those boxes into a single date.
Modules | ||||||
|
Classes | ||||||||||||||||||||||||||
|
Data | ||
CALENDAR_REGISTRY = 'CalendarRegistry' CHECKBOX_WIDGET = 'CheckboxWidget' COCOON_HTML_WIDGET_MAKER = 'CocoonHTMLWidgetMaker' COMMAND_PARAM = 'command' DATA_ENTRY_TRANSACTION = 'DataEntryTransaction' DATE_WIDGET = 'DateWidget' DEFAULT_POLICY = 'Default Security Policy' EDITOR_SEPARATOR_CELL_CLASS = 'event-edit-separator-cell' EDITOR_TITLE_CELL_CLASS = 'event-edit-title-cell' EDITOR_VALUE_CELL_CLASS = 'event-edit-value-cell' EVENT_EDIT_DTML_METHOD = 'event_entry' EVENT_ID_PARAM = 'eventId' EVENT_TYPE_PARAM = 'eventType' FALSE = 0 FIELD_ID_PARAM = 'fieldId' FIELD_VALUE_PARAM = 'fieldValue' GET_FIELD_IDS_COMMAND = 'get-field-ids' GET_HIDDEN_INPUT_COMMAND = 'get-hidden-input' GET_TRANSACTION_COMMAND = 'get-transaction' GET_WIDGET_COMMAND = 'get-widget' INFO = 0 LABEL_FIELD = 'label' LIST_WIDGET = 'ListWidget' MEMO_WIDGET = 'MemoWidget' NEW_EVENT_ID = 'newEvent' PROP_EDITORS = 'PropEditors' RADIO_WIDGET = 'RadioWidget' RESULT_BAD_COMMAND_ERROR = '501' RESULT_INTERNAL_ERROR = '500' RESULT_OK = '200' RESULT_PERMISSION_ERROR = '300' RESULT_STATUS_SLOT = 'status' RESULT_VALIDATION_ERROR = '400' RESULT_VALUE_SLOT = 'return-value' SELECT_WIDGET = 'SelectWidget' STYLE_BASE = 'StyleBase' STYLE_FOR_ERROR = 'StyleForError' SUBMIT_TRANSACTION_COMMAND = 'submit' TEXT_WIDGET = 'TextWidget' TRANSACTION_ID_PARAM = 'transId' TRUE = 1 TR_TAG = 'tr' USER_AGENT_PARAM = 'user-agent' VALUE_FIELD = 'value' WIDGET_MAKER_BASE = 'WidgetMaker' XML_START_TAG = '<?xml version="1.0" ?>' ZOPE_WIDGET_MAKER = 'ZopeWidgetMaker' __file__ = '/home/zope/lib/python/Products/MightyCal/DataEntry/WidgetMakers.pyc' __name__ = 'Products.MightyCal.DataEntry.WidgetMakers' __version__ = '$Revision: 1.14 $' cAmPmPart = '_ampm' cDayPart = '_day' cHourPart = '_hour' cMinutePart = '_minute' cMonthPart = '_month' cThreeNBSP = '   ' cYearPart = '_year' |