In 0.93, Component declared a renderTpl (a div with baseCls, etc) but now in 0.94 the template has been removed (breaking lots of our code wherever we use basic Components and Containers). Can the renderTpl that now appears in Ext.lib.Panel be moved back up to Component?

Jamie Avins

13 Sep 2010, 3:53 PM

Thank you for the report.

TommyMaintz

15 Sep 2010, 4:13 AM

The reason for this is that in 0.94 renderTpl only applies to the inner structure of the component. The outer "el" of any component is created seperately. Could you provide some example code that broke because of this change so that I can help you determine how to reimplement that using the new structure?

Obviously this is a little contrived. The purpose is to get the simplest component possible in the items. In 0.93, the "xtype: 'component'" part would render something like
<div class='header'><h1>A header?</h1></div>

In 0.94, it doesn't render.

ueilat

16 Sep 2010, 12:43 PM

same issue
http://www.sencha.com/forum/showthread.php?109692-Argh.-Can-t-get-0.94-working.-Reverting-to-0.93...&p=513473#post513473
in addiction container also lost Id Property

TommyMaintz

21 Sep 2010, 9:10 AM

I am not able to reproduce this with the latest source code in git. Can you confirm if the following code renders correctly with 0.95?

I answered in the previous linked post. It's waiting the moderator approval.
thanks in advance

ueilat

23 Sep 2010, 11:25 AM

I post also here because I cannot see my post in the other message.
Here my codes, prototype of my development site.
As you can test in 0.93 it works, in 0.94 doesn't update and doesn't create id associated to same element (checked in safari developer tool)