I'm pretty sure this works for me without a problem.
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();
}-*/;
/dave
On Apr 21, 8:45 am, shunjie <[email protected]> wrote:
> Hi Friends,
>
> I am trying to develop Facebook Connect application with GWT. I tried
> to have XFBML like <fb:name ></fb:name> in a HTML control. Works
> perfect in a browser but does not render anything at all in Hosted
> Mode.
>
> Does anyone face the same problem when trying to develop GWT with
> FBML. If so, any workarounds?
>
> Thanks!
>
> Shinchi
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---