screen. When error is detected I open a DialogueBox() centered on the
window and depending where on the windows the ListBox() is, it expands
right on top the DialogueBox(). While that is technically just an
annoyance, it still generates phone calls and/or email to the help
desk.
However, I found an acceptable workaround (and it might, in fact, be
the preferred option). I'm using a change handler and do the
validation of other entries at that point. Since the ListBox() is no
longer expanded, there is no messy stuff on the window.
Thanks,
Rob
On Mar 2, 5:40 am, Lukasz <l.plotni...@googlemail.com> wrote:
> If I understood correctly, you would like to validate other entries
> before the selection in the list... In this situation, I don't think
> it is necessary to extend the ListBox() functionality - you could just
> add a FocusHandler to the list and check the validations status there.
>
> Cheers,
> Lukasz
>
> On 1 Mrz., 23:17, Rob Tanner <caspersg...@gmail.com> wrote:
>
> > I have a ListBox() with 9 items that opens to display the items for
> > selecting when you click on it. There are, however, a number of other
> > fields in the form that I want to validate before you can make a
> > selection. What I would like to be able to do is delay the box's
> > opening until I validate the other items so that I can generate errors
> > and get the invalid entries corrected. Is that ever possible to do at
> > least across the major browsers.
>
> > I am using GWT 2.1.
>
> > Thanks,
>
> > Rob Tanner
> > Linfield College
>
>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment