On 2 sep, 00:16, Thad <[email protected]> wrote:
> Using Document.get().getElementById() returns an element, but it has
> no value:
>
> Element el = Document.get().getElementById("username");
> if (el != null)
> GWT.log("element: "+el.getNodeValue(), null);
>
> prints only "element: " in the console.
Try el.<InputElement>cast().getValue() instead; getNodeValue() is a
"generic" DOM method that cannot be aware of the ".value" property
specific to InputElement's.
> Right now I'm having bigger problems trying to do things
> byhttp://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecur...
> --
> When the logon is successful, I hide the logon RootPanel <div>, show
> the application RootPanel <div>, and add my widget to the application
> <div>. This works fine in Firefox and Safari, but in IE7, I get a
> blank browser. The application <div> never shows.
Any JS error? does it work in hosted mode?
> Whoever wrote the LoginSecurityFAQ, it's time "TODO: Expand on this
> section" on the auto-complete section. :)
>From the comments on that page:
>http://groups.google.fr/group/Google-Web-Toolkit/t/2b2ce0b6aaa82461
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---