On 2 sep, 12:51, Bob Rozelle <[email protected]> wrote:
> I'm using the approach of wrapping the form in a FormPanel
>
> FormPanel form = FormPanel.wrap(element, false);
> Style style = element.getStyle();
> style.setProperty("display", "block");//Statically set to
> "display:none"
FYI, I'm using UIObject.setVisible(element, true) with the same effect
but a bit more readable IMO ;-)
> I've gotten username/password autofill working in Firefox, Chrome,
> Opera, Safari, but not IE; still trying to figure that out.
That's most probably because of the following line:
> parentPanel.add(form);//Moves the form in the DOM
Try keeping the form where it originally lives in the markup and see
if it changes something (I bet it does!)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---