-- Ron Dyck <[EMAIL PROTECTED]> wrote
(on Tuesday, 08 July 2008, 01:43 PM -0400):
> 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:

The form elements are entirely incomplete at this time -- they're little
more than placeholders at this time. I will likely complete them later
today or sometime tomorrow, and will announce to the lists when they are
ready to test.

And yes, the plan is to pass the 'required' status to the
decorators/view helpers.

> <input type="text" id="userName" name="userName"
>            dojoType="dijit.form.ValidationTextBox"
>            required="true"
>         />

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to