<?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: Learning ExtJS Book Bugs</title>
	<atom:link href="http://www.vinylfox.com/learning-extjs-book-bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vinylfox.com/learning-extjs-book-bugs/</link>
	<description>The Playground of VinylFox (Shea Frederick)</description>
	<lastBuildDate>Tue, 09 Mar 2010 07:13:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Justin</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-6605</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Tue, 09 Mar 2010 07:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-6605</guid>
		<description>page : 68

if you run the same example, it will show the combo box with 3 items.
select anyone item and then try to change your selection by again clicking on the same combo box, this time it will have only one item listed which is your previous selection</description>
		<content:encoded><![CDATA[<p>page : 68</p>
<p>if you run the same example, it will show the combo box with 3 items.<br />
select anyone item and then try to change your selection by again clicking on the same combo box, this time it will have only one item listed which is your previous selection</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sixfoursuited</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-3003</link>
		<dc:creator>Sixfoursuited</dc:creator>
		<pubDate>Sat, 20 Jun 2009 10:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-3003</guid>
		<description>Page 114: 
Deleting data from server 

conn.request({ 
url: &#039;movie-update.php&#039;, 
params: { 
action: &#039;delete&#039;, 
id: e.record.id 
}, 

Error : e.record.id is undefined.

Replace it by sel.data.id and it will work !</description>
		<content:encoded><![CDATA[<p>Page 114:<br />
Deleting data from server </p>
<p>conn.request({<br />
url: &#8216;movie-update.php&#8217;,<br />
params: {<br />
action: &#8216;delete&#8217;,<br />
id: e.record.id<br />
}, </p>
<p>Error : e.record.id is undefined.</p>
<p>Replace it by sel.data.id and it will work !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nightowl</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-581</link>
		<dc:creator>Nightowl</dc:creator>
		<pubDate>Mon, 16 Feb 2009 14:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-581</guid>
		<description>Page 113

e.commit() is not a function
e.reject() is not a function


Both should refer to e.record.commit() and e.record.reject()</description>
		<content:encoded><![CDATA[<p>Page 113</p>
<p>e.commit() is not a function<br />
e.reject() is not a function</p>
<p>Both should refer to e.record.commit() and e.record.reject()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shea Frederick</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-549</link>
		<dc:creator>Shea Frederick</dc:creator>
		<pubDate>Thu, 12 Feb 2009 14:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-549</guid>
		<description>Page 44: This is a case of unfortunate line wrapping in the book. The line with the regex got wrapped right at a space.

Ext.form.VTypes[&#039;nameVal&#039;] = /^[A-Z][A-Za-z\-]+ [A-Z][A-Za-z\-]+$/;

Notice the space in the regex after the &#039;]+&#039;. 

Page 50: This was a requirement with version 2.1, but a later release fixed the need to initialize tooltips to use the htmleditor.

Thanks for finding these things.</description>
		<content:encoded><![CDATA[<p>Page 44: This is a case of unfortunate line wrapping in the book. The line with the regex got wrapped right at a space.</p>
<p>Ext.form.VTypes['nameVal'] = /^[A-Z][A-Za-z\-]+ [A-Z][A-Za-z\-]+$/;</p>
<p>Notice the space in the regex after the &#8216;]+&#8217;. </p>
<p>Page 50: This was a requirement with version 2.1, but a later release fixed the need to initialize tooltips to use the htmleditor.</p>
<p>Thanks for finding these things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JR</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-547</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Thu, 12 Feb 2009 13:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-547</guid>
		<description>Page 50: TextArea and HTMLEditor

Text reads:

&quot;This is the first Ext component we have used that requires the QuickTips component to be initialized before we can use it.&quot;

However, I tried commenting out Ext.QuickTips.init(); and it still worked, albeit without the descriptive tooltips.

So, perhaps, it should say that the descriptive tooltips for the buttons (bold, italics, etc.) won&#039;t appear if QuickTips is not initialized. Or the sentence could just be removed.</description>
		<content:encoded><![CDATA[<p>Page 50: TextArea and HTMLEditor</p>
<p>Text reads:</p>
<p>&#8220;This is the first Ext component we have used that requires the QuickTips component to be initialized before we can use it.&#8221;</p>
<p>However, I tried commenting out Ext.QuickTips.init(); and it still worked, albeit without the descriptive tooltips.</p>
<p>So, perhaps, it should say that the descriptive tooltips for the buttons (bold, italics, etc.) won&#8217;t appear if QuickTips is not initialized. Or the sentence could just be removed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JR</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-545</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Thu, 12 Feb 2009 09:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-545</guid>
		<description>Page 44: Custom validation - create your own vtype

Code in book reads:

Ext.form.VTypes[&#039;nameVal&#039;] = /^[A-Z][A-Za-z\-]+[A-Z][A-Za-z\-]+$/;
Ext.form.VTypes[&#039;nameMask&#039;] = /[A-Za-z\- ]/;
Ext.form.VTypes[&#039;nameText&#039;] = &#039;In-valid Director Name.&#039;;
Ext.form.VTypes[&#039;name&#039;] = function(v){
   return Ext.form.VTypes[&#039;nameVal&#039;].test(v);
}

but it doesn&#039;t work once I tried it.

However, I downloaded the code samples and tried using the one in &quot;4_forms_custom_vtype_validation.php,&quot; which is:

Ext.form.VTypes.nameVal  = /^([A-Z]{1})[A-Za-z\-]+ ([A-Z]{1})[A-Za-z\-]+/;
Ext.form.VTypes.nameMask = /[A-Za-z\- ]/;
Ext.form.VTypes.nameText = &#039;In-valid Director Name.&#039;;
Ext.form.VTypes.name 	= function(v){
   return Ext.form.VTypes.nameVal.test(v);
};

and that one worked.</description>
		<content:encoded><![CDATA[<p>Page 44: Custom validation &#8211; create your own vtype</p>
<p>Code in book reads:</p>
<p>Ext.form.VTypes['nameVal'] = /^[A-Z][A-Za-z\-]+[A-Z][A-Za-z\-]+$/;<br />
Ext.form.VTypes['nameMask'] = /[A-Za-z\- ]/;<br />
Ext.form.VTypes['nameText'] = &#8216;In-valid Director Name.&#8217;;<br />
Ext.form.VTypes['name'] = function(v){<br />
   return Ext.form.VTypes['nameVal'].test(v);<br />
}</p>
<p>but it doesn&#8217;t work once I tried it.</p>
<p>However, I downloaded the code samples and tried using the one in &#8220;4_forms_custom_vtype_validation.php,&#8221; which is:</p>
<p>Ext.form.VTypes.nameVal  = /^([A-Z]{1})[A-Za-z\-]+ ([A-Z]{1})[A-Za-z\-]+/;<br />
Ext.form.VTypes.nameMask = /[A-Za-z\- ]/;<br />
Ext.form.VTypes.nameText = &#8216;In-valid Director Name.&#8217;;<br />
Ext.form.VTypes.name 	= function(v){<br />
   return Ext.form.VTypes.nameVal.test(v);<br />
};</p>
<p>and that one worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shea Frederick</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-513</link>
		<dc:creator>Shea Frederick</dc:creator>
		<pubDate>Wed, 04 Feb 2009 14:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-513</guid>
		<description>@patorjk - Thanks for noticing that, it seems either the code or the sentence were transposed.

The funny thing that I didn&#039;t notice till just now is that the publisher changed the phrase from &quot;Work Sucks&quot; - the actual tag line for the movie - to &quot;Dull Work&quot; during the editing process.</description>
		<content:encoded><![CDATA[<p>@patorjk &#8211; Thanks for noticing that, it seems either the code or the sentence were transposed.</p>
<p>The funny thing that I didn&#8217;t notice till just now is that the publisher changed the phrase from &#8220;Work Sucks&#8221; &#8211; the actual tag line for the movie &#8211; to &#8220;Dull Work&#8221; during the editing process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patorjk</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-510</link>
		<dc:creator>patorjk</dc:creator>
		<pubDate>Wed, 04 Feb 2009 05:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-510</guid>
		<description>Here&#039;s a small one - page 32 reads: &quot;We are defining this so that the function will check to see if the value entered into our prompt dialog is equal to &#039;the office&#039; and then write this text to a DIV in our page if it is, and a default text of &#039;Dull Work&#039; if it does not&quot;

However, the code shows that &quot;Dull Work&quot; is entered into the DIV if &quot;the office&quot; is entered in and the custom text is entered into the DIV if anything else is entered into the prompt.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a small one &#8211; page 32 reads: &#8220;We are defining this so that the function will check to see if the value entered into our prompt dialog is equal to &#8216;the office&#8217; and then write this text to a DIV in our page if it is, and a default text of &#8216;Dull Work&#8217; if it does not&#8221;</p>
<p>However, the code shows that &#8220;Dull Work&#8221; is entered into the DIV if &#8220;the office&#8221; is entered in and the custom text is entered into the DIV if anything else is entered into the prompt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shea Frederick</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-432</link>
		<dc:creator>Shea Frederick</dc:creator>
		<pubDate>Mon, 19 Jan 2009 18:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-432</guid>
		<description>@ David - I swear that was in there, but its not now - between review, editing and revision process, these things can get lost.

As for page 79, that is not actually what needs to change. The introduction to modifying the column models properties is on page 86.

The code samples were tested, and the problem you ran into does not exist in the code samples download, only in the text of the book.

I would love it if I had a &quot;team&quot; to do these kinds of things, but im guessing the picture in your head about how books are produced is much grander than how it actually happens.</description>
		<content:encoded><![CDATA[<p>@ David &#8211; I swear that was in there, but its not now &#8211; between review, editing and revision process, these things can get lost.</p>
<p>As for page 79, that is not actually what needs to change. The introduction to modifying the column models properties is on page 86.</p>
<p>The code samples were tested, and the problem you ran into does not exist in the code samples download, only in the text of the book.</p>
<p>I would love it if I had a &#8220;team&#8221; to do these kinds of things, but im guessing the picture in your head about how books are produced is much grander than how it actually happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David McGuigan</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-431</link>
		<dc:creator>David McGuigan</dc:creator>
		<pubDate>Mon, 19 Jan 2009 17:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-431</guid>
		<description>Like I forgot to or like you forgot to?

Here&#039;s the column model that code I pasted is supposed to operate on, which is on page 79:

{header: &quot;Title&quot;, dataIndex: &#039;title&#039;},

So you can then pass id parameters to those column objects! Awesome! I think it would be a good idea to explain that when you correct the code sample above.

{header: &quot;Title&quot;, dataIndex: &#039;title&#039;, id: &#039;title&#039;},

On page 96 you use another function, still operating on the same column model which is missing the id parameters, getIndexById, which will also be broken with the incomplete column model it&#039;s expected to be used with from the book. 

I think it might be a good idea to have someone on your team actually go through and test all of the code samples and then update the PDF ASAP. Thanks.</description>
		<content:encoded><![CDATA[<p>Like I forgot to or like you forgot to?</p>
<p>Here&#8217;s the column model that code I pasted is supposed to operate on, which is on page 79:</p>
<p>{header: &#8220;Title&#8221;, dataIndex: &#8216;title&#8217;},</p>
<p>So you can then pass id parameters to those column objects! Awesome! I think it would be a good idea to explain that when you correct the code sample above.</p>
<p>{header: &#8220;Title&#8221;, dataIndex: &#8216;title&#8217;, id: &#8216;title&#8217;},</p>
<p>On page 96 you use another function, still operating on the same column model which is missing the id parameters, getIndexById, which will also be broken with the incomplete column model it&#8217;s expected to be used with from the book. </p>
<p>I think it might be a good idea to have someone on your team actually go through and test all of the code samples and then update the PDF ASAP. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
