2009年9月14日星期一

[fw-mvc] re[fw-mvc] nder Zend_Form in view

I now we have decorators, but they are not so flexible that's way I want to
control the form in a view. I can get the label, the errors, ... But I just
can't find a way to get the input-fields

echo $this->view->myfield->getLabel();

foreach($this->view->myfield->getMessages() as $error :
echo $error;
endforeach;

...

but I can't get <input name="myfield" ...> without the label, errormessages,
....

-----
visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/
--
View this message in context: http://www.nabble.com/render-Zend_Form-in-view-tp25441226p25441226.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: