On Tue, Jul 8, 2008 at 12:02 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>
wrote:

If I finish early enough this week, I'd like to tackle that and the
> ColorPalette dijit. They differ enough from the other dijits, however,
> that I decided to skip them for the time being.
>

I've been working with the dojoType dijit.form.ValidationTextBox widget

The problem I've found is that the 'required' property is not passed thru to
the ValidationTextBox object.
For example:
$userName = $form->createElement('text', 'userName', array('label'  =>
'Username',

'dojoType'         => 'dijit.form.ValidationTextBox',

'required'         => "true")

In the above example the 'required' option is picked up by the Zend Form,
but not passed to dojo as it would be with:
<input type="text" id="userName" name="userName"
           dojoType="dijit.form.ValidationTextBox"
           required="true"
        />

=================
Ron Dyck
[EMAIL PROTECTED]
www.webbtech.net
=================

Reply via email to