setContent equivalent for Panel
Hey folks, I'm in the process of converting my site from 1.1.1 to 2.0 and I've been having difficulty finding a way to change the contents of a status bar panel in my layout. In 1.1.1 I would use the setContent method and pass the appropriate message to the setContent method, but since that method has been deprecated I'm trying to figure out the alternative. Of course, I could use Ext.get(id) and use the dom.innerHtml method to mess with the text, but this would only work for FF and I'm sure there has to be a better way of doing it. Anyway, any help would be appreciated, thanks.
Panels can be updated via load() and you can also update a panel's body property (which is an Element) via update().
Thanks tryan, I just figured this out.