Try this:

  array('ViewHelper',
        array(array('inputWrap'=>'HtmlTag'),
              array('tag' => 'div',
                    'class' => 'something')),
        array(array('labelWrapClose'=>'HtmlTag'),
              array('tag' => 'div',
                    'closeOnly' => true,
                    'placement' => Zend_Form_Decorator_Abstract::PREPEND)),
        'Label',
        array(array('labelWrapOpen'=>'HtmlTag'),
              array('tag' => 'div',
                    'openOnly' => true,
                    'class' => 'something',
                    'placement' => Zend_Form_Decorator_Abstract::PREPEND)),
        array(array('allWrap'=>'HtmlTag'),
              array('tag' => 'div',
                    'class' => 'something')))


On Thu, Oct 23, 2008 at 4:23 AM, nwhiting <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I am using the Zend_Form and am Having quite a few problems with the
> decoration.
>
> What I am trying to achieve is get the form to render with the following
> html output of something like this
>
> <div class="something">
>   <div class="something">
>       <label></label>
>   </div>
>   <div class="something">
>        <input>
>   </div>
> </div>
>
> And I need to accomplish this for each form element and really cant find a
> way to accomplish this?
> --
> View this message in context:
> http://www.nabble.com/Zend_Form-Decoration-tp20118548p20118548.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
   -- Mon

Reply via email to