<?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 for MiamiCoder</title> <atom:link href="http://miamicoder.com/comments/feed/" rel="self" type="application/rss+xml" /><link>http://miamicoder.com</link> <description>Sencha Touch, jQuery Mobile, ExtJS tutorials and books.</description> <lastBuildDate>Wed, 16 May 2012 11:52:21 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 5 by AfroLoGeek</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-5/#comment-1231</link> <dc:creator>AfroLoGeek</dc:creator> <pubDate>Wed, 16 May 2012 11:52:21 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2487#comment-1231</guid> <description>Check the syntax or the way you declare/use isModel i had similar issues vith case sensitive (for example) viewpoint.isValid and changed it with Viewpoint.isValid HTH</description> <content:encoded><![CDATA[<p>Check the syntax or the way you declare/use isModel i had similar issues vith case sensitive (for example) viewpoint.isValid and changed it with Viewpoint.isValid<br /> HTH</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 5 by AfroLoGeek</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-5/#comment-1230</link> <dc:creator>AfroLoGeek</dc:creator> <pubDate>Wed, 16 May 2012 10:32:29 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2487#comment-1230</guid> <description>I just changed  \&amp;quot to \&amp;quot&#039; and works;now on testing</description> <content:encoded><![CDATA[<p>I just changed  \&amp;quot to \&amp;quot&#8217; and works;now on testing</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 5 by AfroLoGeek</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-5/#comment-1229</link> <dc:creator>AfroLoGeek</dc:creator> <pubDate>Wed, 16 May 2012 10:31:15 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2487#comment-1229</guid> <description>Hi Jorge !Great Great explanations in this tutorial which is guiding a lot the beginner i&#039;m right now! I also bought your ebook and will follow it again as i&#039;m reviewing the current tutorials. I&#039;m running into few issues like my list is not showing up, even if i create a new note and save it;also typos in the view notesList  with \&amp;quot syntax</description> <content:encoded><![CDATA[<p>Hi Jorge !</p><p>Great Great explanations in this tutorial which is guiding a lot the beginner i&#8217;m right now! I also bought your ebook and will follow it again as i&#8217;m reviewing the current tutorials.<br /> I&#8217;m running into few issues like my list is not showing up, even if i create a new note and save it;also typos in the view notesList  with \&amp;quot syntax</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 3 by Leena</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-3/#comment-1228</link> <dc:creator>Leena</dc:creator> <pubDate>Tue, 15 May 2012 08:08:42 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2360#comment-1228</guid> <description>Hello Jorge,I am using proxy ajax and data is saved in somefile.json.I have server side script ready to return json. But dont know how to update the data in somfile.json when device is conneted to internet.Please provide example. It would be really helpful.</description> <content:encoded><![CDATA[<p>Hello Jorge,</p><p>I am using proxy ajax and data is saved in somefile.json.</p><p>I have server side script ready to return json. But dont know how to update the data in somfile.json when device is conneted to internet.</p><p>Please provide example. It would be really helpful.</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 4 by Ram</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-4/#comment-1227</link> <dc:creator>Ram</dc:creator> <pubDate>Tue, 15 May 2012 04:26:13 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2416#comment-1227</guid> <description>Ext.define(&quot;NotesApp.view.NotesListContainer&quot;, { extend: &quot;Ext.Container&quot;, alias: &quot;widget.noteslistcontainer&quot;,initialize: function () {this.callParent(arguments);var newButton = { xtype: &quot;button&quot;, text: &#039;New&#039;, ui: &#039;action&#039;, handler: this.onNewButtonTap, scope: this };var topToolbar = { xtype: &quot;toolbar&quot;, title: &#039;My Notes&#039;, docked: &quot;top&quot;, items: [ { xtype: &#039;spacer&#039; }, newButton ] };var notesList = { xtype: &quot;noteslist&quot;, store: Ext.getStore(&quot;Notes&quot;), listeners: { disclose: { fn: this.onNotesListDisclose, scope: this } } };this.add([topToolbar, notesList]); }, onNewButtonTap: function () { console.log(&quot;newNoteCommand&quot;); this.fireEvent(&quot;newNoteCommand&quot;, this); }, onNotesListDisclose: function (list, record, target, index, evt, options) { console.log(&quot;editNoteCommand&quot;); this.fireEvent(&#039;editNoteCommand&#039;, this, record); },config: { layout: { type: &#039;fit&#039; } } });here is the NotesListContainer am i missing something  on click of list view the disclose is not calling the function onNotesListDisclose</description> <content:encoded><![CDATA[<p>Ext.define(&#8220;NotesApp.view.NotesListContainer&#8221;, {<br /> extend: &#8220;Ext.Container&#8221;,<br /> alias: &#8220;widget.noteslistcontainer&#8221;,</p><p> initialize: function () {</p><p> this.callParent(arguments);</p><p> var newButton = {<br /> xtype: &#8220;button&#8221;,<br /> text: &#8216;New&#8217;,<br /> ui: &#8216;action&#8217;,<br /> handler: this.onNewButtonTap,<br /> scope: this<br /> };</p><p> var topToolbar = {<br /> xtype: &#8220;toolbar&#8221;,<br /> title: &#8216;My Notes&#8217;,<br /> docked: &#8220;top&#8221;,<br /> items: [<br /> { xtype: 'spacer' },<br /> newButton<br /> ]<br /> };</p><p> var notesList = {<br /> xtype: &#8220;noteslist&#8221;,<br /> store: Ext.getStore(&#8220;Notes&#8221;),<br /> listeners: {<br /> disclose: { fn: this.onNotesListDisclose, scope: this }<br /> }<br /> };</p><p> this.add([topToolbar, notesList]);<br /> },<br /> onNewButtonTap: function () {<br /> console.log(&#8220;newNoteCommand&#8221;);<br /> this.fireEvent(&#8220;newNoteCommand&#8221;, this);<br /> },<br /> onNotesListDisclose: function (list, record, target, index, evt, options) {<br /> console.log(&#8220;editNoteCommand&#8221;);<br /> this.fireEvent(&#8216;editNoteCommand&#8217;, this, record);<br /> },</p><p> config: {<br /> layout: {<br /> type: &#8216;fit&#8217;<br /> }<br /> }<br /> });</p><p>here is the NotesListContainer am i missing something  on click of list view the disclose is not calling the function onNotesListDisclose</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 2 by Jorge</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-2/#comment-1226</link> <dc:creator>Jorge</dc:creator> <pubDate>Tue, 15 May 2012 02:43:58 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2291#comment-1226</guid> <description>Very cool! Thanks for sharingthis code.</description> <content:encoded><![CDATA[<p>Very cool! Thanks for sharingthis code.</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 2 by Des</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-2/#comment-1225</link> <dc:creator>Des</dc:creator> <pubDate>Mon, 14 May 2012 22:50:21 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2291#comment-1225</guid> <description>I implemented a smal Architect program to illustrate the idea.1) Add a Delegate Event Binding to the component (a button in my case) 2) targetType = Button, name = tap 3) Inside the Delegate Event Binding, fire the event this.fireEvent(&quot;myCustomEvent&quot;, this);4) Create a controller ref to the Component containing the button (Panel) 5) Create a Controller Action controlQuery = myPanel (xType of the container) targetType = MyPanel (UserClassName) name = myCustomEvent (Same name as what was fired from the Button)Seems to workThe final code looks something like this:View &lt;CODE&gt; Ext.define(&#039;MyApp.view.MyPanel&#039;, { extend: &#039;Ext.Panel&#039;, alias: &#039;widget.myPanel&#039;,config: { html: &#039;This demonstrates Custom Events. Press the button to send the event.&#039;, layout: { type: &#039;vbox&#039; }, items: [ { xtype: &#039;button&#039;, itemId: &#039;mybutton&#039;, text: &#039;Press to Send Business Event&#039; } ], listeners: [ { fn: &#039;onButtonTap&#039;, event: &#039;tap&#039;, delegate: &#039;#mybutton&#039; } ] },onButtonTap: function(button, e, options) { console.log(&quot;Firing event 2&quot;);this.fireEvent(&quot;myCustomEvent&quot;, this);}}); &lt;/CODE&gt;Controller&lt;CODE&gt; Ext.define(&#039;MyApp.controller.MyController&#039;, { extend: &#039;Ext.app.Controller&#039;, config: { refs: { myPanel: { selector: &#039;myPanel&#039;, xtype: &#039;myPanel&#039;, autoCreate: true } },control: { &quot;myPanel&quot;: { myCustomEvent: &#039;onPanelMyCustomEvent&#039; } } },onPanelMyCustomEvent: function(panel) { console.log(&quot;Event received 2&quot;);alert(&quot;Business Event received&quot;); }}); &lt;/CODE&gt;HTH Des</description> <content:encoded><![CDATA[<p>I implemented a smal Architect program to illustrate the idea.</p><p>1) Add a Delegate Event Binding to the component (a button in my case)<br /> 2) targetType = Button, name = tap<br /> 3) Inside the Delegate Event Binding, fire the event<br /> this.fireEvent(&#8220;myCustomEvent&#8221;, this);</p><p>4) Create a controller ref to the Component containing the button (Panel)<br /> 5) Create a Controller Action<br /> controlQuery = myPanel (xType of the container)<br /> targetType = MyPanel (UserClassName)<br /> name = myCustomEvent (Same name as what was fired from the Button)</p><p>Seems to work</p><p>The final code looks something like this:</p><p>View<br /> <code><br /> Ext.define(&#8216;MyApp.view.MyPanel&#8217;, {<br /> extend: &#8216;Ext.Panel&#8217;,<br /> alias: &#8216;widget.myPanel&#8217;,</p><p> config: {<br /> html: &#8216;This demonstrates Custom Events. Press the button to send the event.&#8217;,<br /> layout: {<br /> type: &#8216;vbox&#8217;<br /> },<br /> items: [<br /> {<br /> xtype: 'button',<br /> itemId: 'mybutton',<br /> text: 'Press to Send Business Event'<br /> }<br /> ],<br /> listeners: [<br /> {<br /> fn: 'onButtonTap',<br /> event: 'tap',<br /> delegate: '#mybutton'<br /> }<br /> ]<br /> },</p><p> onButtonTap: function(button, e, options) {<br /> console.log(&#8220;Firing event 2&#8243;);</p><p> this.fireEvent(&#8220;myCustomEvent&#8221;, this);</p><p> }</p><p>});<br /> </code></p><p>Controller</p><p><code><br /> Ext.define(&#8216;MyApp.controller.MyController&#8217;, {<br /> extend: &#8216;Ext.app.Controller&#8217;,<br /> config: {<br /> refs: {<br /> myPanel: {<br /> selector: &#8216;myPanel&#8217;,<br /> xtype: &#8216;myPanel&#8217;,<br /> autoCreate: true<br /> }<br /> },</p><p> control: {<br /> &#8220;myPanel&#8221;: {<br /> myCustomEvent: &#8216;onPanelMyCustomEvent&#8217;<br /> }<br /> }<br /> },</p><p> onPanelMyCustomEvent: function(panel) {<br /> console.log(&#8220;Event received 2&#8243;);</p><p> alert(&#8220;Business Event received&#8221;);<br /> }</p><p>});<br /> </code></p><p>HTH<br /> Des</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 5 by Iceberg</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-5/#comment-1224</link> <dc:creator>Iceberg</dc:creator> <pubDate>Mon, 14 May 2012 20:21:07 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2487#comment-1224</guid> <description>¡Error! Hi, good Example, thanks, i have one question, i run your example app, but when i delete some item list, and reload the page , an error rise in the browser: Uncaught TypeError: Cannot read property &#039;isModel&#039; of undefinedWhat&#039;s going on?Thanks</description> <content:encoded><![CDATA[<p>¡Error!<br /> Hi, good Example, thanks, i have one question, i run your example app, but when i delete some item list, and reload the page , an error rise in the browser:<br /> Uncaught TypeError: Cannot read property &#8216;isModel&#8217; of undefined</p><p>What&#8217;s going on?</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>Comment on Creating a Website Using JQuery Mobile, Part 1 by Judi</title><link>http://miamicoder.com/2011/creating-a-website-using-jquery-mobile-part1/#comment-1223</link> <dc:creator>Judi</dc:creator> <pubDate>Mon, 14 May 2012 13:46:24 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=707#comment-1223</guid> <description>Nice tutorial!  Thank you.  When are you going to post the part 2?  I am looking for  that.</description> <content:encoded><![CDATA[<p>Nice tutorial!  Thank you.  When are you going to post the part 2?  I am looking for  that.</p> ]]></content:encoded> </item> <item><title>Comment on How to Create a Sencha Touch 2 App, Part 4 by Jorge</title><link>http://miamicoder.com/2012/how-to-create-a-sencha-touch-2-app-part-4/#comment-1222</link> <dc:creator>Jorge</dc:creator> <pubDate>Mon, 14 May 2012 12:00:43 +0000</pubDate> <guid isPermaLink="false">http://miamicoder.com/?p=2416#comment-1222</guid> <description>Ram, I cannot reproduce the issue on my side. Please review your code again.</description> <content:encoded><![CDATA[<p>Ram, I cannot reproduce the issue on my side. Please review your code again.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 297/297 objects using disk: basic

Served from: miamicoder.com @ 2012-05-17 13:18:31 -->
