Re: @Dialog form with validation errors broken

2007-06-06 Thread Jesse Kuhnert
I'm not sure I understand what the actual problem is that you are running in to? I have noticed recently that I've had to define a .dojoDialog css style rule for instances when I refresh a dialog via XHR - it could be you are seeing this as well? I still have to look in to this further but am

Re: @Dialog form with validation errors broken

2007-06-06 Thread Julian Wood
I've been using the Dialog component for async form entry quite successfully for some time now. You might want to try using client- side validation. I've found that the only thing you need to do is attach some extra functionality to the submit, so that you can close the dialog if validation

@Dialog form with validation errors broken

2007-06-05 Thread Paul Stanton
4.1.1 with the following example (pseudo code) body a onclick=async:display dialog/ @Dialog hidden on load=true @Form async=false @DropdownDatePicker translator=translator:date,format=dd/MM// /@Form /@Dialog /body When I submit the dialog's form with an invalid date

Re: @Dialog form with validation errors broken

2007-06-05 Thread Paul Stanton
further to that: In my system out I get: WARNING: Parameters: Invalid chunk ignored. At the bottom of my page I get: DEBUG: invalid date string: 206-01-01 In the Dialog form (which shouldn't be visible) the DropdownDatePicker component does not render, while the rest of the form does.

Re: @Dialog form with validation errors broken

2007-06-05 Thread Paul Stanton
OK, I've changed my form declaration from form jwcid=@Form listener=listener:save to form jwcid=@Form success=listener:save This stops the rendering issues and log messages, however how can I notify the user of their invalid entry?