Hi there, just signed up for the forum, my message seems to have been lost. Here's my question again. Thanks for any ideas.
Bernd Bernd Matzner wrote: > > Hi, > > using 1.6 RC2, I see no JS generated with Zend_Dojo's Programmatic mode, > but perhaps I'm missing something from the documentation - only if the > (-1) param value is passed to setUseProgrammatic, there should be no > script generation. > > Here's what I do: in my controller, I > > <snip> > Zend_Dojo::enableView($this->view); > Zend_Dojo_View_Helper_Dojo::setUseDeclarative(); > $this->view->dojo()->enable(); > (... options) > </snip> > > Then create a form > > $myForm = new Zend_Form(); > Zend_Dojo::enableForm($myForm); > > with some dijit controls. In this case, how would the programmatic code be > pushed to dojo()? > > I wonder how this is supposed to work when adding BorderContainer and > ContentPane to a view (as described in the documentation), where dojo() > object is already echoed to the page before this actually happens. > > Thanks for any insight on best practice here. > > Declarative works fine except for a few glitches. > > Also, there are a few attributes still added (tooltipPosition) to the HTML > code, will create a report in the issue tracker. > > > Bernd > -- View this message in context: http://www.nabble.com/Zend_Dojo-Programmatic-usage---best-practice--tp19050092p19114554.html Sent from the Zend Framework mailing list archive at Nabble.com.
