2009年7月30日星期四

[fw-mvc] 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

 

 

没有评论: