Skip to content
Commits on May 30, 2013
  1. @mcdonc
Commits on May 25, 2011
  1. @mcdonc

    Merge pull request #23 from cjw296/preparer_docs

    mcdonc committed May 25, 2011
    Docs fixes from ChrisW
Commits on May 18, 2011
  1. @mcdonc
Commits on Feb 27, 2011
  1. @mcdonc

    fix colander links

    mcdonc committed Feb 27, 2011
Commits on Feb 16, 2011
  1. @mcdonc

    - Moved to GitHub (https://github.com/Pylons/deform).

    mcdonc committed Feb 16, 2011
    - Added tox.ini for testing purposes.
Commits on Sep 1, 2010
  1. @mcdonc

    - It is now acceptable to use the field *oid* as the ``name`` of an

    mcdonc committed Sep 1, 2010
      input element that is part of a mapping instead of its name (its
      name also continues to work).
    
    - RadioChoiceWidgets did not work when they were used within
      sequences.  Making them work required some changes to the
      MappingWidget.  Their templates were also changed slightly.
    
    - To make radio choice widgets work within sequences, the
      deform.addSequenceItem JavaScript method needed to be changed.  It
      will now change the value of ``name`` attributes which include a
      field marker (e.g. ``deformField1``) in the same way it already
      changed the value of ``id`` attributes which include a field marker.
  2. @mcdonc

    - The ``deform.widget.AutocompleteInputWidget`` widget now uses

    mcdonc committed Sep 1, 2010
      `JQuery UI's autocomplete sublibrary
      <http://docs.jquery.com/UI/Autocomplete>` instead of the
      ``jquery.autocomplete`` library to perform its job in order to
      reduce the number of libraries needed by Deform.  Some options have
      been changed as a result, and the set of resources returned by
      ``form.get_widget_resources`` has changed.
    
      This change also implies that when a widget which uses a remote URL
      as a ``values`` input, the remote URL must return a JSON structure
      instead of a ``\n``-delimited list of values.
Commits on Aug 30, 2010
  1. @mcdonc

    - It is now possible to associate a widget with a schema node within

    mcdonc committed Aug 30, 2010
      the schema directly.  For example::
    
        import colander
        import deform.widget
    
        class MySchema(Schema):
            description = colander.SchemaNode(
                              colander.String(),
                              widget=deform.widget.RichTextWidget()
                              )
    
      For more information, see "Changing the Default Widget Associated
      With a Field" in the documentation.
    
    - This Deform version requires ``colander`` version 0.7.2 or better.
Commits on Aug 28, 2010
  1. @mcdonc

    Bug Fixes

    mcdonc committed Aug 28, 2010
    ~~~~~~~~~
    
    - ``RichTextWidget``, ``AutocompleteInputWidget``, ``TextInputWidget``
      with input masks, and ``CheckedInputWidget`` with input masks could
      not be used properly within sequences.  Now they can be.  See also
      ``Internal`` and ``Backwards Incompatibilities`` within this
      release's notes.  This necessitated new required ``deform.load()``
      and ``deform.addCallback()`` JavaScript APIs.
    
    Backwards Incompatibilities
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    - The JavaScript function ``deform.load()`` now *must* be called by
      the HTML page (usually in a script tag near the end of the page, ala
      ``<script..>deform.load()</script>``) which renders a Deform form in
      order for widgets which use JavaScript to do proper event and
      behavior binding.  If this function is not called, built-in widgets
      which use JavaScript will no longer function properly.
    
    - The JavaScript function ``deformFocusFirstInput`` was removed.  This
      is now implied by ``deform.load()``.
    
    Internal
    ~~~~~~~~
    
    - The various deform* JavaScript functions in ``deform.js`` have now
      been moved into a top-level namespace.  For example, where it was
      necessary to call ``deformFocusFirstInput()`` before, it is now
      necessary to call ``deform.focusFirstInput()``.
    
    - Make the TinyMCE rich text widget use ``mode: 'exact'`` instead of
      ``mode: 'textareas'``.
    
    - ``richtext``, ``autocomplete_input``, ``textinput``,
      ``checked_input``, and ``dateinput``, and ``form`` templates now use
      the new ``deform.addCallback`` indirection instead of each
      registering their own JQuery callback or performing their own
      initialization logic, so that each may be used properly within
      sequences.
    
    - Change sequence adding logic to be slightly simpler.
    
    - The sample app form page now calls ``deform.load()`` rather than
      ``deformFocusFirstInput()``.
    
    - Added new demo app views for showing a sequence of autocompletes, a
      sequence of dateinputs, a sequence of richtext fields, and a
      sequence of text inputs with masks and tests for same.
    
    Documentation
    ~~~~~~~~~~~~~
    
    - Added a note about ``get_widget_resources`` to the "Basics"
      chapter.
    
    - Added a note about ``deform.load()`` JavaScript requiredness to the
      "Basics" chapter.
    
    - Add new top-level sections named ``Widget Templates`` and ``Widget
      JavaScript`` to the "Widgets" chapter.
Commits on Aug 24, 2010
  1. @mcdonc

    typos

    mcdonc committed Aug 24, 2010
  2. @mcdonc

    use deformdemo

    mcdonc committed Aug 24, 2010
  3. @mcdonc

    docs for set_widgets

    mcdonc committed Aug 24, 2010
Commits on Jul 31, 2010
  1. @mcdonc
Commits on Jun 13, 2010
  1. @mcdonc

    expand widget docs

    mcdonc committed Jun 13, 2010
  2. @mcdonc

    fix changing a widget docs

    mcdonc committed Jun 13, 2010
  3. @mcdonc

    fix misstatements

    mcdonc committed Jun 13, 2010
Commits on Jun 8, 2010
  1. @mcdonc

    update docs

    mcdonc committed Jun 8, 2010
Commits on May 17, 2010
  1. @mcdonc

    - Add ``deform.widget.DateInputWidget`` widget, which is a date picker

    mcdonc committed May 17, 2010
      widget.  This has now become the default widget for the
      ``colander.Date`` schema type, preferred to the date parts widget.
Commits on May 16, 2010
  1. @mcdonc

    - Add text input mask capability to

    mcdonc committed May 16, 2010
      ``deform.widget.CheckedInputWidget``.
  2. @mcdonc
Commits on May 13, 2010
  1. @mcdonc

    - The ``deform.Form`` class now accepts two extra keyword arguments in

    mcdonc committed May 13, 2010
      its constructor: ``use_ajax`` and ``ajax_options``.
    
      If ``use_ajax`` is ``True``, the page is not reloaded when a submit
      button is pressed.  Instead, the form is posted, and the result
      replaces the DOM node on the page.
    
      ``ajax_options`` is a string which allows you to pass extra options
      to the underlying AJAX form machinery when ``use_ajax`` is True.
    
    - Added a couple Ajax examples to the demo app.
    
    - Add a rudimentary Ajax chapter to the docs.
Commits on May 9, 2010
  1. @mcdonc

    expand

    mcdonc committed May 9, 2010
  2. @mcdonc

    Documentation goalline nearing.

    mcdonc committed May 9, 2010
  3. @mcdonc

    Docs for changing a widget

    mcdonc committed May 9, 2010
Commits on May 8, 2010
  1. @mcdonc

    No commit message

    mcdonc committed May 8, 2010
  2. @mcdonc

    iYup.

    mcdonc committed May 8, 2010
  3. @mcdonc

    iYup.

    mcdonc committed May 8, 2010
  4. @mcdonc

    Need that trailing slash.

    mcdonc committed May 8, 2010
  5. @mcdonc

    More basic docs.

    mcdonc committed May 8, 2010
    Change demo to support docs.
  6. @mcdonc

    More basics.

    mcdonc committed May 8, 2010
  7. @mcdonc

    Move stuff around.

    mcdonc committed May 8, 2010
  8. @mcdonc

    Remove most schema-related APIs in order to make the task of document…

    mcdonc committed May 8, 2010
    …ation simpler (Colander is in charge of schemas, and its docs will need to suffice).
Something went wrong with that request. Please try again.