Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 16, 2012
  1. Alexey Borzov

    repeat.add() can receive explicit index for a new item, also returns …

    sad-spirit authored
    …the index for an added item
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325713 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 15, 2012
  1. Alexey Borzov
  2. Alexey Borzov
  3. Alexey Borzov
Commits on May 14, 2012
  1. Alexey Borzov

    Use spl_object_hash() instead of element ids as key for storing valid…

    sad-spirit authored
    …ation errors of repeated elements, errors now work properly (and even survive id changes).
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325689 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 13, 2012
  1. Alexey Borzov

    Having $element->__toString() in buildCommonFields() made that method…

    sad-spirit authored
    … not-quite-usable by renderer plugins
    
    Additionally provide 'class' attribute for groups, as in Default renderer
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325667 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 1, 2012
  1. Alexey Borzov
Commits on Apr 18, 2012
  1. Alexey Borzov
Commits on Apr 15, 2012
  1. Alexey Borzov
  2. Alexey Borzov

    Per discussion: removed 'Add...' link from default template for Repea…

    sad-spirit authored
    …t, added link and button to example instead.
    
    Possibility to remove() item by index
    Updated package.xml
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325202 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 14, 2012
  1. Alexey Borzov
  2. Alexey Borzov

    An example for repeat elements, event callbacks for repeat JS

    sad-spirit authored
    Frozen repeat no longer outputs Javascript
    Repeat's constructor accepts prototype, setters return $this
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325176 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 13, 2012
  1. Alexey Borzov

    Added Repeat to Factory and package.xml, added "release" JS files

    sad-spirit authored
    Started release notes for 2.0.0beta1 (need better description for Repeat)
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325159 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Alexey Borzov

    Merged repeat_element branch

    sad-spirit authored
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325158 c90b9560-bf6c-de11-be94-00142212c4b1
  3. Alexey Borzov
  4. Alexey Borzov

    Conditionally backup id attributes (needed only for output) and error…

    sad-spirit authored
    … messages (do we need them at all?)
    
    Backup elements' values, this prevents leftover shit when cloning prototypes client-side
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325156 c90b9560-bf6c-de11-be94-00142212c4b1
  5. Alexey Borzov
  6. Alexey Borzov
  7. Alexey Borzov

    Do not force purely numeric indexes

    sad-spirit authored
    Changed index generation in JS, previous approach made it impossible to reorder repeated items
    Renamed setIdentityField() to setIndexField(), added setIndexes() / getIndexes()
    Added possibility to guess index field name
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325153 c90b9560-bf6c-de11-be94-00142212c4b1
  8. Alexey Borzov

    Register an autoloader in TestHelper.php rather than try to require_o…

    sad-spirit authored
    …nce everything in separate tests. Tests are *far* more likely to run separately now.
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325139 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 12, 2012
  1. Alexey Borzov
  2. Alexey Borzov
  3. Alexey Borzov
  4. Alexey Borzov
  5. Alexey Borzov

    JavascriptBuilder now has a separate method for returning form setup …

    sad-spirit authored
    …code
    
    Container's __toString() automatically appends setup code to HTML: no need to define custom __toString() in Hierselect and Repeat
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325088 c90b9560-bf6c-de11-be94-00142212c4b1
  6. Alexey Borzov
  7. Alexey Borzov
Commits on Apr 11, 2012
  1. Alexey Borzov

    Optimized replaceIndexTemplates() and restoreChildAttributes(), the l…

    sad-spirit authored
    …atter is run only once, not on each iteration
    
    Added JS library to add/remove repeated items
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325067 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Alexey Borzov

    works with Groups as prototypes

    sad-spirit authored
    added a template for Repeat to Default renderer
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325056 c90b9560-bf6c-de11-be94-00142212c4b1
  3. Alexey Borzov
  4. Alexey Borzov

    get rid of $prototype, store it in $elements

    sad-spirit authored
    proxy less methods
    recursive iterator now iterates over prototype as well, get rid of duplicate ids
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325038 c90b9560-bf6c-de11-be94-00142212c4b1
  5. Alexey Borzov
  6. Alexey Borzov

    If checkbox was somehow checked and the form did not contain submit d…

    sad-spirit authored
    …ata sources, the checked attribute was quite unlikely to be ever removed by updateValue()
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325029 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 10, 2012
  1. Alexey Borzov

    An attempt to implement a generic "repeat" element. On a separate bra…

    sad-spirit authored
    …nch for a time being, will merge to trunk if it comes out OK
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/branches/repeat_element@325004 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 6, 2012
  1. Alexey Borzov

    Fixed a couple of bugs spotted in http://news.php.net/php.pear.genera…

    sad-spirit authored
    …l/31496
    
     * Autogenerated ids should not start with numbers
     * Explicitly given value="0" for checkboxes should not be replaced by value="1"
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@324926 c90b9560-bf6c-de11-be94-00142212c4b1
Something went wrong with that request. Please try again.