Perfect! -----Original Message----- From: Tobias Gies [mailto:[email protected]] Sent: Tuesday, May 19, 2009 03:56 PM To: 411161 Cc: [email protected] Subject: Re: [fw-general] what can be used t replace these nice smarty features
Hi, you can either use the form* family of view helpers (more at http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial) if you already have your custom form processing logic in place, or you can use Zend_Form (http://framework.zend.com/manual/en/zend.form.html), which will take over a lot of the forms processing work for you. HTH. Best regards, Tobias 2009/5/19 411161 <[email protected]>: > > I have decided not to use Smarty as my template engine. But, what can I use > instead in Zend View for things like: html_options > > I despise too many loops in my pages and this was a very clean way to > populate a dropdown. > > <select size="1" name="shortTerritory" onchange=form1.submit()> > {html_options options=$shortTerritories selected=$selected_fiscal_year} > </select> > > > What are my alternatives? Another reason why I am leaving Smarty is because > I could not get it to integrate with Dojo. > -- > View this message in context: > http://www.nabble.com/what-can-be-used-t-replace-these-nice-smarty-features-tp23623976p23623976.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >
