-
27 Feb 2007 9:09 PM #1
Ext.DomHelper.Template or Ext.Template?
Ext.DomHelper.Template or Ext.Template?
Hi jack,
noticed you added a backwards compat statement Ext.DomHelper.Template = Ext.Template in the Template.js file.
however, in the DomHelper.js file, you used the following code:
shouldn't DomHelper refer to the new Ext.Template constructor instead?Code:createTemplate : function(o){ var html = createHtml(o); return new Ext.DomHelper.Template(html); }
-
28 Feb 2007 10:53 AM #2
Ext.Template Examples
Ext.Template Examples
Does anyone have nay working examples that Ext.Template that they care to share that code here ???
Thanks in advance!!
-
28 Feb 2007 11:34 AM #3
Look at the examples - feed-viewer.js, organizer.js, chooser.js all do templates.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
28 Feb 2007 5:58 PM #4
-
1 Mar 2007 3:05 PM #5
And another one that Jack had suggested on utilizing the formatting features of template:
http://www.divergingpath.com/index.c...s-of-Templates
Similar Threads
-
Ext.DomHelper.Template: one template, ten YUI grids
By moraes in forum Community DiscussionReplies: 11Last Post: 18 Dec 2012, 4:55 AM -
DomHelper.Template and UpdateManager
By valc in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 4 Jan 2007, 8:44 AM -
Setting dropdowns when using DomHelper.Template
By hady in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 2 Dec 2006, 4:46 AM -
[OPEN] DomHelper.Template.compile
By Animal in forum Ext 1.x: BugsReplies: 1Last Post: 26 Oct 2006, 7:17 AM


Reply With Quote