Zend Framework issue

Soldato
Joined
18 Oct 2002
Posts
18,271
zfforum has come up with no answers for me, so I'm hoping someone here might have an idea.

Basically I have a problem whereby the Dojo javascript is loading up whenever I display a Zend_Form (NOT Zend_Dojo_Form). I'm using the normal code in my layout as suggested on the Zend manual.
PHP:
if ($this->dojo()->isEnabled()){
    $this->dojo()->setLocalPath($this->baseUrl().'/scripts/dojo/dojo/dojo.js')
				->addStyleSheetModule('dijit.themes.tundra');
    echo $this->dojo();
   }

Not only does Dojo cause problems in Internet explorer, but it increases page load time with all it's extra HTTP requests. I can see no reason why it would be loading up when the form is not Dojo enabled. Any ideas?

Right now Dojo is causing me no end of problems, I can see myself ditching it altogether and going the jQuery route :/
 
Top Bottom