umpirsky wrote:
> 
> I forgot to add that I have overriden setElementDecorators as well :P
> 
> http://pastie.org/796814
> 
> Regards,
> Saša Stamenković
> 
Hmm, that's an interesting approach, I didn't think of that. The only thing
which isn't so nice is that once you've called
setDisableLoadDefaultDecorators(true) on the element, you have to specify
all the decorators even if you just want to set escape = false on the Label
decorator (for example).

Also, loading the Zend defaults (on construction) and then overwriting them
with your own defaults seems a bit of a waste.
-- 
View this message in context: 
http://n4.nabble.com/How-to-set-the-default-decorators-for-form-elements-tp1290314p1311619.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to