Please let me refresh my 3rd point be more informative.
3) In my Zend Form class .php for example prjhead.php which I stored in /application/forms directory
Now in prjhead.php, the the class extending Zend_Form has to have name Default_Form_prjhead to work.
If I change the name of that class to Prjhead_Form or something different, it does not work.
In my controller I wrote like $form = new Default_Form_prjhead(); which gives error when the name is changed to prjhead_Form, I did also change the
calling $form= new Prjhead_Form(). The error is not able to find the form.
Thanks & Regards,
Naimesh Trivedi
From: Naimesh.Trivedi (Gmail) [mailto:naimesh.trivedi@gmail.com]
Sent: Thursday, July 30, 2009 5:25 PM
To: fw-general@lists.zend.com
Cc: 'fw-mvc@lists.zend.com'
Subject: Using Dojo with Zend
Hello !
I have started exploring zend framework 1.8.4 to port new applications to Zend.
Can you please guide me knowing following to start with :
1) How do I use Ajax enabled to Zend_Form elements and validate my form elements ?
2) To use Dojo and Zend_Dojo_Form, do I need to put dojo.js, I could not find it in Zend Framework 1.8.4, please guide me on this as following code I found on manual calls it.
<?php if ($this->dojo()->isEnabled()){
$this->dojo()->setLocalPath('/js/dojo/dojo.js')
->addStyleSheetModule('dijit.themes.tundra');
echo $this->dojo();
}?>
What other settings are required to use Dojo helpers and layouts.
3) The name of the Zend has to include prefix Default_Form_XXXX where Default_Form is prefix and keep XXXX.php having zend_form_xxxx class extending Zend_Form_xxxx as not doing this gives error not able to find it from view.
4) How do I know all resource.xxx attributes list
Please guide me on this.
Thanks & Regards,
Nbt
没有评论:
发表评论