Have I completely misunderstood something? There must be a way of doing so.
On 13 Dec., 23:04, Dennis Madsen <[email protected]> wrote: > I have this small code, where I add a Label (div) to another div in my > HTML: > > Label labelEntry = new > Label("<strong>"+entry.getName()+":</strong> > "+entry.getMessage()); > labelEntry.addStyleName("entry"); > RootPanel.get("entries").add(labelEntry); > > The HTML-code is shown instead of the right HTML. How can I build a > div with this strong-tag inside? > > Another thing. I add a style like addStyleName("entry"). What if I > would like to set an ID of the div instead, as ID="entry"? > > Thank you! -- 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.
