Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

May 16, 2012

  1. Alexey Borzov

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

    …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
    sad-spirit authored

May 15, 2012

  1. Alexey Borzov

    Use the current markup in DualSelect's template

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

    Request #19403: do not return values for internal fields

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

    Move Repeat's JS to proper qf.elements.Repeat namespace

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

May 14, 2012

  1. Alexey Borzov

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

    …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
    sad-spirit authored

May 13, 2012

  1. Alexey Borzov

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

    … 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
    sad-spirit authored

May 01, 2012

  1. Alexey Borzov

    Fixed markup in array-twig example, this time for real

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

Apr 18, 2012

  1. Alexey Borzov

    Updated release notes for beta2, release = today

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

Apr 15, 2012

  1. Alexey Borzov

    Drop code that prevented overriding the existing renderer type: it do…

    …esn't make sense now
    
    git-svn-id: http://svn.php.net/repository/pear/packages/HTML_QuickForm2/trunk@325209 c90b9560-bf6c-de11-be94-00142212c4b1
    sad-spirit authored
  2. Alexey Borzov

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

    …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
    sad-spirit authored

Apr 14, 2012

  1. Alexey Borzov

    Got rid of <tt></tt> tags, fixed markup in a couple of examples

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

    An example for repeat elements, event callbacks for repeat JS

    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
    sad-spirit authored

Apr 13, 2012

  1. Alexey Borzov

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

    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
    sad-spirit authored
  2. Alexey Borzov

    Merged repeat_element branch

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

    Use getIndexes(): the indexes may still need guessing

    sad-spirit authored
  4. Alexey Borzov

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

    … 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
    sad-spirit authored
  5. Alexey Borzov

    Ouch. setValue(null) should not set element's value attribute to 'value'

    sad-spirit authored
  6. Alexey Borzov

    Prevent IDE from highlighting "errors"

    sad-spirit authored
  7. Alexey Borzov

    Do not force purely numeric indexes

    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
    sad-spirit authored
  8. Alexey Borzov

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

    …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
    sad-spirit authored

Apr 12, 2012

  1. Alexey Borzov

    Some tests, Repeat cannot be added to another Repeat

    sad-spirit authored
  2. Alexey Borzov

    Update hierselect's value on name change

    sad-spirit authored
  3. Alexey Borzov

    JSDoc for qf.Repeat

    sad-spirit authored
  4. Alexey Borzov

    PHPDoc for Repeat element, fixed copypasted PHPDoc in Container

    sad-spirit authored
  5. Alexey Borzov

    JavascriptBuilder now has a separate method for returning form setup …

    …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
    sad-spirit authored
  6. Alexey Borzov

    Fix for inline script, repeating hierselects work

    sad-spirit authored
  7. Alexey Borzov

    Client-side rules and JS initializations for repeated elements. Yay.

    sad-spirit authored

Apr 11, 2012

  1. Alexey Borzov

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

    …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
    sad-spirit authored
  2. Alexey Borzov

    works with Groups as prototypes

    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
    sad-spirit authored
  3. Alexey Borzov

    reuse code from Node::validate()

    sad-spirit authored
  4. Alexey Borzov

    get rid of $prototype, store it in $elements

    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
    sad-spirit authored
  5. Alexey Borzov

    Server-side stuff somewhat works, no JS to drive the element yet

    sad-spirit authored
  6. Alexey Borzov

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

    …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
    sad-spirit authored

Apr 10, 2012

  1. Alexey Borzov

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

    …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
    sad-spirit authored

Apr 06, 2012

  1. Alexey Borzov

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

    …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
    sad-spirit authored
Something went wrong with that request. Please try again.