Re: [fw-general] zend form adderror and isvalid

2008-12-03 Thread Borje
Matthew Weier O'Phinney-3 wrote: -- Samuel Verdier [EMAIL PROTECTED] wrote (on Tuesday, 05 August 2008, 03:43 PM +0200): In use addError('test'); And : $form-isValid($formData); retour true. Is this normal? Yes. The use case for addError() is to add an error message to the

Re: [fw-general] zend form adderror and isvalid

2008-12-03 Thread Borje
Matthew Weier O'Phinney-3 wrote: -- Samuel Verdier [EMAIL PROTECTED] wrote (on Tuesday, 05 August 2008, 03:43 PM +0200): In use addError('test'); And : $form-isValid($formData); retour true. Is this normal? Yes. The use case for addError() is to add an error message to the element

Re: [fw-general] How render Zend_Form to html table?

2008-04-17 Thread Borje
So, for instance, 'my_decorator' is a bad class name as it (a) doesn't follow Zend coding standards, and (b) tells nothing about what it does. From what you say, it sounds like it's a submit button decorator -- so let's call it 'My_Decorator_Submit'. Place it in 'My/Decorator/Submit.php'

Re: [fw-general] How render Zend_Form to html table?

2008-04-16 Thread Borje
Matthew Weier O'Phinney-3 wrote: You should create a custom decorator for that, then -- have it simply emit a td/td -- and attach it to that button. I made a custom decorator and I'd like to use it as following: $this-submit-setDecorators(array( array(