On 07/08/2010 04:54 PM, Sebastian Benthall wrote: > I'm working on a ticket that requires an additional panel in the > 'north' part of the map composer application (to display the map's > title and 'more info' link) > > Mostly so far I've just been tentatively poking and trying to remember > my Ext fu. > > One interesting bit I've found is this: > http://github.com/GeoNode/geonode/blob/master/src/geonode-client/src/script/app/GeoExplorer.js#L867 > > After the header panel renders, it pulls in its content from the > app-header div that is created in the template > > Later, while trying to figure out how to do something else, I came > upon this config option which appears to do the same thing: > > http://www.sencha.com/deploy/dev/docs/source/Component.html#cfg-Ext.Component-contentEl > > I was wondering if there was any reason in particular we were using > the event driven method rather than the config option, or if it seemed > to anybody else a good idea to change it. > > -- > Sebastian Benthall > OpenGeo - http://opengeo.org > I didn't think to look for an option to do this when I was writing it, no problem at all with switching to contentEl.
-d
