Issues

ZF-9168: Zend Form Element Captcha Decorator

Issue Type: Sub-task Created: 2010-02-14T03:01:10.000+0000 Last Updated: 2010-06-19T10:43:48.000+0000 Status: Resolved Fix version(s): - 1.10.6 (22/Jun/10)

Reporter: Andrei Iarus (poni1111) Assignee: Christian Albrecht (alab) Tags: - Zend_Form

Related issues: - ZF-7552

Attachments:

Description

When decorating the Zend_Captcha Form element, I use this: $this->captcha->setDecorators( array( 'Captcha', 'Description', 'Errors', array(array('data'=>'HtmlTag'), array('tag' => 'td')), array('Label', array('tag' => 'td')), array(array('row'=>'HtmlTag'),array('tag'=>'tr')) ));

The problem: the first TD HtmlTag element gets replaced by the last TR HtmlTag (after rendering). I have checked this, by removing the last decorator (the TR HtmlTag)

Comments

Posted by Stanislav Malyshev (stas) on 2010-04-07T18:00:54.000+0000

Not sure how to do this right, reassigning.

Posted by Christian Albrecht (alab) on 2010-04-08T02:03:29.000+0000

ZF-5867 is similar in that the opener is aiming for a table using Decorators as well.

Posted by Christian Albrecht (alab) on 2010-06-19T10:43:48.000+0000

Fixed in r22464 and merged into 1.10 release branch

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts