protected Widget makeLoginButton() {

                String s = "<fb:login-button onlogin=
\"facebookConnectLogin()\"></
fb:login-button>";

                HTML h = new HTML(s);
                DeferredCommand.addCommand(new Command() {
                        public void execute() {
                                parseDomTree();
                        }
                });

                return h;

        }

        protected static native void parseDomTree() /*-{
                $wnd.FB.XFBML.Host.parseDomTree();
        }-*/;


1.i tried this way, using DeferredCommand, but still not able to
display the button on hosted mode. I able to see it in browser. i'm
using gwt 1.6.4

2. may i know how to get user info in gwt after user successfully
login  . pls refer http://tinyurl.com/l3jx4z

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