ZF 1.12 Controller runs after the view, the forms are not getting createdzend framework
Posted 11 January 2013 - 08:53 PM
Now, when I run this, this is the text that I see:
ENTER - buildAffiliateSelectForm - Application_Form_Input
EXIT - buildAffiliateSelectForm - Application_Form_Input
Why is my controller (action, in this case) is executing after the view? This doesn't make any sense.
Posted 12 January 2013 - 02:18 AM
Posted 14 January 2013 - 03:15 PM
Basically, what I'm trying to do is have the form elements (Zend_Form_Element_Select, for example) to show up in my view. This used to work (I swear), but suddenly they stopped working. And I don't know why. In the example above, I should see a drop down (even if it's not populated at all and has only 1 item in it).
It's not executing afterward, but is displaying afterward. The view layer uses various pieces of buffer trickery to do it's job. Hence, output outside of a view is not recommended. What exactly is the issue you are trying to solve?
Fixed the size of the text.
Edited by yoursurrogategod, 14 January 2013 - 03:16 PM.
Posted 15 January 2013 - 03:14 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users