<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: xtype defined</title>
	<atom:link href="http://blog.extjs.eu/know-how/xtype-defined/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.extjs.eu/know-how/xtype-defined/</link>
	<description>For good of all productive developers</description>
	<lastBuildDate>Sun, 05 Feb 2012 09:37:22 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: suyash</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-4129</link>
		<dc:creator>suyash</dc:creator>
		<pubDate>Sun, 22 Jan 2012 11:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-4129</guid>
		<description>thanks!</description>
		<content:encoded><![CDATA[<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: interior design</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-4104</link>
		<dc:creator>interior design</dc:creator>
		<pubDate>Thu, 27 Oct 2011 14:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-4104</guid>
		<description>cool post! 
Another great post
Thanks for the write up
Cant wait to see future post
Thanks, have a great day
I really liked your post
Very cool
nice blog, check mine out if you get a chance.
Top-notch 
Great work over again! Thank you.
interesting article. thank you so much</description>
		<content:encoded><![CDATA[<p>cool post!<br />
Another great post<br />
Thanks for the write up<br />
Cant wait to see future post<br />
Thanks, have a great day<br />
I really liked your post<br />
Very cool<br />
nice blog, check mine out if you get a chance.<br />
Top-notch<br />
Great work over again! Thank you.<br />
interesting article. thank you so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raman</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-4090</link>
		<dc:creator>Raman</dc:creator>
		<pubDate>Thu, 28 Jul 2011 07:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-4090</guid>
		<description>if i instantiate the object in the handler of a button at that time what is the use of xtypes.</description>
		<content:encoded><![CDATA[<p>if i instantiate the object in the handler of a button at that time what is the use of xtypes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3959</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 16 Dec 2010 17:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3959</guid>
		<description>@joe,@Iwe: See \&#039;ref\&#039; in the Extjs docs (e.g. on the Panel class). It (ref) will create a reference to the object when instantiated.</description>
		<content:encoded><![CDATA[<p>@joe,@Iwe: See \&#8217;ref\&#8217; in the Extjs docs (e.g. on the Panel class). It (ref) will create a reference to the object when instantiated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lwe</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3953</link>
		<dc:creator>lwe</dc:creator>
		<pubDate>Thu, 09 Dec 2010 19:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3953</guid>
		<description>I was looking for what Joe was looking for, but I see he wasn\&#039;t answered. Can anyone tell us how to refer to an object that was created with xtype? I don\&#039;t want to use \</description>
		<content:encoded><![CDATA[<p>I was looking for what Joe was looking for, but I see he wasn\&#8217;t answered. Can anyone tell us how to refer to an object that was created with xtype? I don\&#8217;t want to use \</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3928</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 29 Nov 2010 20:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3928</guid>
		<description>I am writing an application which stores the Ext objects in a database I am retrieving the configuration from the server and rendering the objects. I want to manupulate the object configuration prior to adding them to the container. Is there a way of adding xtypes for things like?:

 store: {
        autoDestroy: true,
        url: \\\&#039;plants.xml\\\&#039;,
        reader: {
            record: \\\&#039;plant\\\&#039;,
            fields: [
                {name: \\\&#039;common\\\&#039;, type: \\\&#039;string\\\&#039;},
            ]
        }),

I\\\&#039;m string to lazy render all of the components. I\\\&#039;ve tried :

Ext.reg(\\\&#039;xmlreader\\\&#039;,Ext.data.XmlReader);


 store: {
        autoDestroy: true,
        url: \\\&#039;plants.xml\\\&#039;,
        reader: {
            xtype: \\\&#039;xmlreader\\\&#039;,
            record: \\\&#039;plant\\\&#039;,
            fields: [
                {name: \\\&#039;common\\\&#039;, type: \\\&#039;string\\\&#039;},
            ]
        },

but to no avial... any thoughts?</description>
		<content:encoded><![CDATA[<p>I am writing an application which stores the Ext objects in a database I am retrieving the configuration from the server and rendering the objects. I want to manupulate the object configuration prior to adding them to the container. Is there a way of adding xtypes for things like?:</p>
<p> store: {<br />
        autoDestroy: true,<br />
        url: \\\&#8217;plants.xml\\\&#8217;,<br />
        reader: {<br />
            record: \\\&#8217;plant\\\&#8217;,<br />
            fields: [<br />
                {name: \\\'common\\\', type: \\\'string\\\'},<br />
            ]<br />
        }),</p>
<p>I\\\&#8217;m string to lazy render all of the components. I\\\&#8217;ve tried :</p>
<p>Ext.reg(\\\&#8217;xmlreader\\\&#8217;,Ext.data.XmlReader);</p>
<p> store: {<br />
        autoDestroy: true,<br />
        url: \\\&#8217;plants.xml\\\&#8217;,<br />
        reader: {<br />
            xtype: \\\&#8217;xmlreader\\\&#8217;,<br />
            record: \\\&#8217;plant\\\&#8217;,<br />
            fields: [<br />
                {name: \\\'common\\\', type: \\\'string\\\'},<br />
            ]<br />
        },</p>
<p>but to no avial&#8230; any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: austin mobile mechanic</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3841</link>
		<dc:creator>austin mobile mechanic</dc:creator>
		<pubDate>Sun, 03 Oct 2010 20:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3841</guid>
		<description>great post overall, I love it</description>
		<content:encoded><![CDATA[<p>great post overall, I love it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3745</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Sun, 01 Aug 2010 11:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3745</guid>
		<description>The example line got broken of, I was just referencing the line from your post. Here is the rest of my comment:
[example line from above(xtype...)], how can I call i.e. getSelectionModel() on mygrid?</description>
		<content:encoded><![CDATA[<p>The example line got broken of, I was just referencing the line from your post. Here is the rest of my comment:<br />
[example line from above(xtype...)], how can I call i.e. getSelectionModel() on mygrid?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-3744</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Sun, 01 Aug 2010 11:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-3744</guid>
		<description>Very clear description, thanks.
What I am still wondering though, ow to i call a function on the lazyly instantiated object?
As by the above example ({xtype:\&#039;mygrid\</description>
		<content:encoded><![CDATA[<p>Very clear description, thanks.<br />
What I am still wondering though, ow to i call a function on the lazyly instantiated object?<br />
As by the above example ({xtype:\&#8217;mygrid\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bulle Bas</title>
		<link>http://blog.extjs.eu/know-how/xtype-defined/comment-page-1/#comment-1736</link>
		<dc:creator>Bulle Bas</dc:creator>
		<pubDate>Tue, 14 Jul 2009 23:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.extjs.eu/?p=67#comment-1736</guid>
		<description>ad 2. Yes I was mistaken, I read pre ext3 where you write pre ext2.

ad 3. Ghe don\&#039;t get me wrong. I love extjs as well, and bought recently a license because I want to use this library. I only wonder how extjs1 worked then. Since the only way of greedy instantiation I can think of is something like the following

p = new SubPanel();
w = new Widget().registerAOnClickFunction(function (e) {p.show()}}

this is a waste indeed.
But why not simply


w = new Widget().registerAOnClickFunction(function (e) {new Panel.show()}}

There is no need to instantiate Panel beforehand, in global scope.


ad 4. It was just an example, definitely not Extjs. $ is (DOM) getElementById, the example I provide here is maybe clearer. Still not extjs, but it illustrates the concept.

:-)</description>
		<content:encoded><![CDATA[<p>ad 2. Yes I was mistaken, I read pre ext3 where you write pre ext2.</p>
<p>ad 3. Ghe don\&#8217;t get me wrong. I love extjs as well, and bought recently a license because I want to use this library. I only wonder how extjs1 worked then. Since the only way of greedy instantiation I can think of is something like the following</p>
<p>p = new SubPanel();<br />
w = new Widget().registerAOnClickFunction(function (e) {p.show()}}</p>
<p>this is a waste indeed.<br />
But why not simply</p>
<p>w = new Widget().registerAOnClickFunction(function (e) {new Panel.show()}}</p>
<p>There is no need to instantiate Panel beforehand, in global scope.</p>
<p>ad 4. It was just an example, definitely not Extjs. $ is (DOM) getElementById, the example I provide here is maybe clearer. Still not extjs, but it illustrates the concept.</p>
<p> <img src='http://blog.extjs.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

