Store your string in an instance variable and just keep appending to this instance variable.
If you use this, you should be able to use either the Label class or your setHtml call. On Jan 23, 12:28 pm, frankCostello <[email protected]> wrote: > I'm doing a little chat. > I want to know how to add a text to a panel. > writing panel.setHtml("example") I delete all the content there. > I want instead of the previous content will not be erased and the new > text is added to it. > I tried with the label but doesn't append the label. > > if I make: > panel.setHtml (panel.getHtml + "example") > adds to a panel this: > [object HTMLDivElement] example. > In paractice I want a panel where they are stored all messages that > users send!! > how do I do? > thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" 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/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
