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"
parentPanel.add(form);//Moves the form in the DOM
Element formElement = form.getElement();
NodeList<Element> inputs = formElement.getElementsByTagName("input");
int ln = inputs.getLength();
for (int i = 0; i < ln; i++)
{
    Element element = inputs.getItem(i);
    InputElement inelement = (InputElement)element;
    String name = inelement.getName();
    String value = inelement.getValue();
    //Modify values here.
}

I've gotten username/password autofill working in Firefox, Chrome,
Opera, Safari, but not IE; still trying to figure that out.

Bob

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to