-- Stefan Sturm <[EMAIL PROTECTED]> wrote
(on Friday, 11 July 2008, 07:58 AM +0200):
> no one with an idea on this? Or is it simply not possible?

In this case, I'd recommend creating a custom decorator instead of
trying to do it with the shipped decorators. 


> 2008/7/10 Stefan Sturm <[EMAIL PROTECTED]>:
> > Hello,
> >
> > I try to wrap the following div structure around a Zend_Form:
> >
> > <div class="outerform">
> >        <div class="topdiv"><div></div></div>
> >        <div class="content">
> >                <!-- Here comes the Form -->
> >        </div>
> >        <div class="bottomdiv"><div></div></div>
> > </div>
> >
> > I tried it with this decorators:
> >
> > $this->setDecorators(
> >        array(
> >                'FormElements',
> >                'Form',
> >                array(array('content' => 'HtmlTag'), array('tag' => 'div', 
> > 'class'
> > => 'content')),
> >                array(array('top' => 'HtmlTag'), array('tag' => 'div', 
> > 'class' =>
> > 'topdiv', 'placement' => 'prepend') ),
> >                array(array('bottom' => 'HtmlTag'), array('tag' => 'div', 
> > 'class' =>
> > 'bottomdiv', 'placement' => 'append')),
> >                array(array('outer' => 'HtmlTag'), array('tag' => 'div', 
> > 'class' =>
> > 'outerform')),
> >        )
> > );
> >
> > But this is not exactly what I need. How can I get the empty
> > <div></div> inside topdiv and bottom div?
> >
> > Hope somebody can Help :-)
> >
> > Greetings,
> > Stefan Sturm
> >
> 

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to