-- Gabby403 <[email protected]> wrote
(on Monday, 20 July 2009, 06:05 AM -0700):
> Matthew Weier O'Phinney-3 wrote:
<snip>
> > To be 100% clear, define $decorators2 as follows:
> > 
> >     $decorators2 = array(
> >         'ViewHelper',
> >         'Description',
> >         'Errors',
> >         array('data' => 'HtmlTag' ), array('tag' => 'span' ),
> >         array('Label', array('tag' => 'span' )),
> >         array(array('row' => 'HtmlTag' ),array('tag' =>'div','style' =>
> >             'display:none;', 'class' => 'hiddenToReveal')),
> >     );
<snip>
> actually, with this in place I now get this warning
> Exception caught by form: Plugin by name 'Span' was not found in the
> registry;
> If I change the spans to tds I get a similar warning except saying the same
> about Td

I missed a piece on that: 4th and 6th use aliases. The sixth is
formatted correctly; you just need to change the 4th. Try this:

    $decorators2 = array(
        'ViewHelper',
        'Description',
        'Errors',
        array(array('data' => 'HtmlTag' ), array('tag' => 'span' )),
        array('Label', array('tag' => 'span' )),
        array(array('row' => 'HtmlTag' ),array('tag' =>'div','style' =>
            'display:none;', 'class' => 'hiddenToReveal')),
    );


-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/

Reply via email to