How to put this link to the web site of www.autoparaati.fi?
Autoparaati
Promote Your Page Too
Use a
Label
and set its
content type to XHTML
.
I have tried many ways but no success. May I ask to get a little code?
String link = "<!-- Facebook Badge START --><a href=\"http://www.facebook.com/pages/Autoparaati/123670764336488\" target=\"_TOP\" style=\"font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;\" title=\"Autoparaati\">Autoparaati</a><br/><a href=\"http://www.facebook.com/pages/Autoparaati/123670764336488\" target=\"_TOP\" title=\"Autoparaati\"><img src=\"http://badge.facebook.com/badge/123670764336488.961.1070776369.png\" width=\"120\" height=\"164\" style=\"border: 0px;\" /></a><br/><a href=\"http://www.facebook.com/business/dashboard/\" target=\"_TOP\" style=\"font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;\" title=\"Make your own badge!\">Promote Your Page Too</a><!-- Facebook Badge END -->";
Label linkLabel = new Label(link, Label.CONTENT_XHTML);
yourLayout.addComponent(linkLabel);
thanks