On 01/20/2012 12:55 PM, rhaag71 wrote:
Thanks for the link, I think I will have to read that article. I have done
all my forms, up 'til now, in a different way, basically just 'echo' the
entire form in my view. I think I have this part working, but now my
validation messages are not showing up. Those may be a part of the
decorations (?). I must have something to do with it.
Hi rhaag71,
I've had my share of troubles with decorators but with help from this
list I now have some very nice looking forms. At first I didn't
appreciate how much thought the zf krewe had put into them (apologies to
MWO'P).
I think Razorblade was on track. There are an assortment of decorators
in addition to "ViewHelper", such as "Errors", "Tooltip", "Description",
"HtmlTag", "Form", "Fieldset", and many others.
How about:
$this->setElementDecorators(array('ViewHelper', 'Errors'));
May do the trick.
Hope that's the solution,
Mike Wright
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]