instead of using directly panel.setHtml use the HTML widget and write your text there and after that add this componect in your panel and ever time u want to add some thing add in html.setText(html.getText()+"example")
this will add text in your panel; bye tikam On Fri, Jan 23, 2009 at 10:58 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! > > > > > -- Best Regards Tikam Chand Jain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
