i'm trying to use Zend_Dojo_Form but I have a problem with the view scripts.
I hope sameone can help me.
This is my code
In my bootstrap.php
----------------------------
//* LAYOUT
$layout = Zend_Layout::startMvc(array(
'layoutPath' => APPLICATION_DIRECTORY .'/layouts'
,'layout' => 'main'
));
//* DOJO
$layout->getView()->addHelperPath('Zend/Dojo/View/Helper/',
'Zend_Dojo_View_Helper');
-----------------------------
In the script of layout main.phtml
---------------------------------------
<head>
...(OMIT)
if ($this->dojo()->isEnabled()):
// Include dojo library
$this->dojo()->setLocalPath(BASE_URL.'js/dojo/dojo/dojo.js')
// Use dojo theme tundra
->addStyleSheetModule('dijit.themes.tundra');
// Echo out the dojo <script> tags
echo $this->dojo();
endif;
...(OMIT)
With the debug, when is performing the "echo $this->dojo()", I have this
debug warning:
" ..\Zend\Loader.php line 160 - fopen(Zend/Dojo/View/Helper/DocType.php) :
failed to open stream: No such file or directory
Thanks to all
Alessandro Camilli
--
View this message in context: http://www.nabble.com/dojo-and-helper%3A-no-such-file-or-directory-tp19725048p19725048.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论