working on the hidden element.
Matthew, is removeDecorator supposed to work on the hidden element or
do I need to use CSS to set display none on those items?
-Ed
On Thu, Mar 26, 2009 at 1:29 PM, Matthew Weier O'Phinney
<matthew@zend.com> wrote:
> -- keith Pope <mute.pop3@googlemail.com> wrote
> (on Thursday, 26 March 2009, 08:07 PM +0000):
>> The reason the $submit->removeDecorator('DtDdWrapper'); does not work
>> is because the DtDdWrapper is not registered on elements, the
>> DtDdWrapper decorator is only used by DisplayGroups and Subforms.
>
> That's actually not true. While most elements have the default
> decorators you listed previously, several types are handled differently
> -- image, submit, button, captcha, and hidden all behave slightly
> differently, and some of these have the DtDdWrapper.
没有评论:
发表评论