I have another question regarding the dojo view helper...
Is there a way to disable the dojoType="dijit.form.Form" from being
added to the <form> attributes on a standard Zend_Form() when using
Zend_Dojo_View_Helper
In bootstrap:
$view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');
In controller:
$form = new Zend_From();
Returns:
<form enctype="application/x-www-form-urlencoded" action=""
method="post" id="" dojoType="dijit.form.Form">
Is this standard behavior or do I have something mixed up somewhere?
It isn't a big deal but I'd like to disable it for now as my reset
buttons in my standard forms seem to be disabled in a dojoType =
dijit.form.Form
Thanks,
Todd
On Jul 17, 2008, at 12:04 PM, Matthew Weier O'Phinney wrote:
-- Todd Wolaver <[EMAIL PROTECTED]> wrote
(on Thursday, 17 July 2008, 11:17 AM -0500):
I've been playing with the Dojo view helper and Zend_Dojo_Form it all
looks great and easy to implement.
I did find a minor issue in the view helper related to adding module
paths. The generated code doesn't include the path for the module
namespace.
Valid Dojo syntax would be:
dojo.registerModulePath("foo", "../../foo");
Veiw helper outputs:
dojo.registerModulePath("foo");
I've updated the _renderExtras method in
Zend_Dojo_View_Helper_Dojo_Container to get it working for now. I
can
add a bug to the issue tracker if you like but I didn't see a
category
for Zend_Dojo in there yet.
I've added a category for this now; please enter the issue, and, if
possible, attach the patch.
As a side note on Zend_Dojo_Form, I'm having a hard time figuring out
how to get the checkboxes in MultiCheckbox to render as a Dijit
checkbox, any suggestions?
Hmm... I may need to add a MultiCheckBox dijit element. Place a
feature
request in the tracker for this; I can see this being useful.
On Jul 16, 2008, at 11:16 AM, Matthew Weier O'Phinney wrote:
Greetings, all --
I've promoted the following components from standard/incubator/ to
standard/trunk/ in preparation for the 1.6.0 release:
* Zend_Dom_Query: use CSS selectors to query (X)HTML/XML documents
* Zend_Dojo: ZF/Dojo integration layer
* Zend_Json_Server: JSON-RPC implementation
* Zend_Session_SaveHandler_DbTable: Store session data in a database
table
* Zend_Test_PHPUnit: testing infrastructure for MVC applications
* Zend_Text_Figlet: create Figlets with ZF
If you haven't tried these new components out yet, please do. If you
haven't due to lack of documentation, documentation is available in
the
documentation/manual/en/module_specs/ tree in human-readable
DocBook,
with full PHP examples and use cases.
A hearty thank you to all contributors and testers involved with
making
these components a reality!
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/