<?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>Sat, 14 Jan 2012 23:06:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Shea Frederick</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-7747</link>
		<dc:creator>Shea Frederick</dc:creator>
		<pubDate>Mon, 08 Nov 2010 14:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-7747</guid>
		<description>Sorry about that. Was my fat finger fault. You should take a look at the errata page on Pack Publishing&#039;s web site for more typos.</description>
		<content:encoded><![CDATA[<p>Sorry about that. Was my fat finger fault. You should take a look at the errata page on Pack Publishing&#8217;s web site for more typos.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ionut</title>
		<link>http://www.vinylfox.com/learning-extjs-book-bugs/comment-page-1/#comment-7734</link>
		<dc:creator>ionut</dc:creator>
		<pubDate>Sat, 06 Nov 2010 17:35:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.vinylfox.com/?p=115#comment-7734</guid>
		<description>took me 20 minutes to realize this is a mistake:) Ext.onReady(stapler());</description>
		<content:encoded><![CDATA[<p>took me 20 minutes to realize this is a mistake:) Ext.onReady(stapler());</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

