Hi, 
I'm reading it right now.
Sorry for the 'bug' issue type, it was not a proper selection.
Thanks

Sergio Rinaudo




> From: [email protected]
> To: [email protected]
> Date: Sat, 30 May 2009 23:54:01 +0200
> Subject: Re: [fw-general] Form Element File Reset Decorator
> 
> This is not a bug.
> 
> You should read the FAQ and search for already closed issues before filling 
> a new issue.
> http://framework.zend.com/wiki/display/ZFFAQ/Forms
> 
> Greetings
> Thomas Weidner, I18N Team Leader, Zend Framework
> http://www.thomasweidner.com
> 
> 
> ----- Original Message ----- 
> From: "Sergio Rinaudo" <[email protected]>
> To: <[email protected]>; <[email protected]>
> Sent: Saturday, May 30, 2009 11:35 PM
> Subject: RE: [fw-general] Form Element File Reset Decorator
> 
> 
> 
> I've reported it as a minor priority bug:
> 
> http://framework.zend.com/issues/browse/ZF-6867
> 
> Bye
> 
> Sergio Rinaudo
> 
> 
> > Date: Sat, 30 May 2009 08:04:12 -0400
> > Subject: Re: [fw-general] Form Element File Reset Decorator
> > From: [email protected]
> > To: [email protected]
> > CC: [email protected]
> >
> > I think this should be reported a a bug. Prior to 1.8 I never
> > experienced this problem, the workaround you've described shouldn't be
> > necessary.
> >
> > On Saturday, May 30, 2009, Sergio Rinaudo <[email protected]> 
> > wrote:
> > >
> > >
> > >
> > >
> > >
> > > I've found this to reset file element decorators
> > >
> > >       $file->removeDecorator('label');
> > >       $file->removeDecorator('HtmlTag');
> > >
> > > but, after this, it seems to be not possible to add a 'div' container 
> > > for example, I always get some exceptions.
> > > So I finally solved using a custom view script to buld my form
> > >
> > > $myform->setDecorators(array(array('ViewScript', array('viewScript' => 
> > > 'myFormScript.phtml'))));
> > >
> > >
> > >   <div class="editMediaFormContainer">
> > >     <form id="<?php echo $this->escape($this->element->getAttrib('id')); 
> > > ?>" action="<?php echo $this->escape($this->element->getAction()); ?>" 
> > > method="<?php echo $this->escape($this->element->getMethod()); ?>" 
> > > enctype="<?php echo $this->escape($this->element->getAttrib('enctype')); 
> > > ?>">
> > >       <div class="elementFileContainer">
> > >         <?php echo $this->element->mediafile; ?>
> > >       </div>
> > >
> > >       [...]
> > >
> > >
> > >     </form>
> > >   </div>
> > >
> > >
> > > Hope this helps
> > >
> > > Sergio Rinaudo
> > >
> > >
> > >> Date: Fri, 29 May 2009 21:21:07 -0400
> > >> Subject: Re: [fw-general] Form Element File Reset Decorator
> > >> From: [email protected]
> > >> To: [email protected]
> > >>
> > >> I've noticed the same thing, started in v1.8
> > >> On Friday, May 29, 2009, Sergio Rinaudo <[email protected]> 
> > >> wrote:
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > Hi,
> > >> > I'm trying to reset dt dd decorator for the File Form Element, but I 
> > >> > always get in some error.
> > >> > What do I have to pass to $fileElement->setDecorators() to reset its 
> > >> > decorators?
> > >> > Thanks
> > >> >
> > >> > Sergio Rinaudo
> > >> >
> > >> > Quali sono le parole più cliccate? Scopri la top!
> > >> >
> > >>
> > >> --
> > >> =================
> > >> Ron Dyck
> > >> [email protected]
> > >> www.webbtech.net
> > >> =================
> > >
> > > Chiamate gratis da PC a PC? Provale da Messenger!
> > >
> >
> > -- 
> > =================
> > Ron Dyck
> > [email protected]
> > www.webbtech.net
> > =================
> 
> _________________________________________________________________
> Resta in contatto con gli amici, comunica con Messenger!
> http://messenger.it/cominciaAcomunicare.aspx 
> 

_________________________________________________________________
Più di 30 stazioni. Ascolta la Radio su Messenger!
http://messenger.it/radioMessenger.aspx

Reply via email to