View Full Version : [DUP] "ContentEl" hides design

24 Feb 2012, 6:31 AM

I created a viewport including a border layout. Each region was filled with a empty panel. If I add the "contentEl" in one of these panels, the design will be shown empty.

Is there any workaround?

Thanks a lot,
Joachim Schneider

24 Feb 2012, 9:02 AM
We've added this as a bug. I assume whats happening is the library is trying to pull from the specific contentEl which you've specified, it can't find it and it's crashing. We will fix this.

In the mean time, you would probably be better off using a tpl coupled with data and/or html configurations.

26 Feb 2012, 11:26 PM
Dear aconran

Thanks a lot for your reply. In the meantime, solved it with a custom "render" event inside a controller:


onRender:function(abstractcomponent, options){
this.getHeaderPanel().contentEl = 'elementId'

Best regards,
Joachim Schneider