-- Stefan Sturm <[EMAIL PROTECTED]> wrote
(on Friday, 11 July 2008, 01:16 PM +0200):
> i used the "openOnly" option to get just the <br> Tag.

Just be aware that if you want your document to validate under XHTML,
this will raise a warning. :)


> 2008/7/11 Matthew Weier O'Phinney <[EMAIL PROTECTED]>:
> > -- Stefan Sturm <[EMAIL PROTECTED]> wrote
> > (on Friday, 11 July 2008, 08:51 AM +0200):
> > > another Question related to Zend_Form and Decorators :-)
> > >
> > > I want to simply add an <br /> after an Element.
> > > I use this Decorator:
> > >
> > > public $elementDecorators = array(
> > >       'ViewHelper',
> > >       'Errors',
> > >       array( 'Label', array('class' => 'left' ) ),
> > >       array( 'HtmlTag', array( 'tag' => 'br', 'placement' => 'append' ) ),
> > > );
> > >
> > > But this appends <br></br> to my Element :-(
> > >
> > > Where is my Error?
> >
> > No error, just a limitation of the HtmlTag helper; it does not
> > distinguish between tags requiring a closing tag and those that do not.
> >
> > If you want such support, please file an issue in the tracker.

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

Reply via email to