<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://skysigal.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://skysigal.com/feed.php">
        <title>Notes it:ad:sencha_touch:howto</title>
        <description></description>
        <link>https://skysigal.com/</link>
        <image rdf:resource="https://skysigal.com/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-05-26T10:09:26+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/attach_an_event_handler?rev=1699138924&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/best_practices?rev=1699062974&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/center_something?rev=1699138925&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/check_whether_a_var_is_a_function?rev=1699138926&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/communicate_with_an_mvc_app?rev=1699062974&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/create_a_first_app?rev=1699138928&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/create_an_app_skeleton?rev=1699138927&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/create_an_ext_compliant_class?rev=1699138927&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/customize_appearance_of_listview?rev=1699138928&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/debug_the_api?rev=1699138929&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/delay_the_launch_sequence?rev=1699062975&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/deployment?rev=1699062976&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/deployment2?rev=1699062977&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/encode_an_array_as_json?rev=1699062977&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/implement_security?rev=1699062978&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/install?rev=1699062978&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/json_request?rev=1699138930&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/load_views_dynamically?rev=1699138930&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/load_views_dynamically2?rev=1699138931&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/localize_the_views?rev=1699138932&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/modal_dialogs?rev=1699138932&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/native_packaging?rev=1699062979&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/prepare_a_deployment_package?rev=1699138933&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/refresh_data_on_every_view?rev=1699062981&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/set_history_to_new_route?rev=1699138934&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/set_icons_per_row?rev=1699138935&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/setup_events_handlers_in_views?rev=1699062981&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/setup_sass?rev=1699138934&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/sync_localstorage_and_remote_data?rev=1699138936&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/update_tabbutton_badges?rev=1699138936&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/use_a_currencyfield?rev=1699062982&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/use_a_currencyfield2?rev=1699062982&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/use_the_lifespan?rev=1699138937&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/work_with_ajax?rev=1699138938&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/work_with_buttons?rev=1699138938&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/work_with_buttons2?rev=1699138939&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/work_with_paths?rev=1699062984&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/work_with_taskrunner_and_delayedtask?rev=1699062984&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/working_with_panel_tabs?rev=1699062983&amp;do=diff"/>
                <rdf:li rdf:resource="https://skysigal.com/it/ad/sencha_touch/howto/working_with_panel_tabs2?rev=1699062983&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://skysigal.com/lib/tpl/bootstrap3/images/favicon.ico">
        <title>Notes</title>
        <link>https://skysigal.com/</link>
        <url>https://skysigal.com/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/attach_an_event_handler?rev=1699138924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SL1.1:</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/attach_an_event_handler?rev=1699138924&amp;do=diff</link>
        <description>SL1.1:

Ext.EventManager
this.viewport.query(&#039;#searchBtn&#039;)[0].setHandler(function(){
    Ext.ControllerManager.get(&#039;Search&#039;).index();
});
SL2.0
Ext.Viewport.add({
  xtype: &#039;button&#039;,
  centered: true,
  text: &#039;My Button&#039;,

  listeners: {
    tap: function() {
        this.hide();
    },
    hide: function() {
        //waits 1 second (1000ms) then shows the button again
        Ext.defer(function() {
            this.show();
        }, 1000, this);
    }
  }
});</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/best_practices?rev=1699062974&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/best_practices?rev=1699062974&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo

	* (UP)
howto index



Resources

	* http://www.swarmonline.com/2011/05/20-things-to-avoid-or-do-when-getting-started-with-extjs-and-sencha-touch/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/center_something?rev=1699138925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Center in Panel</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/center_something?rev=1699138925&amp;do=diff</link>
        <description>Center in Panel

It&#039;s a combination of vbox, with pack center, and align center. No flex needed.
myApp.views.defs.login  =  {
    xtype:&#039;panel&#039;
    ,layout: {type:&#039;vbox&#039;, align:&#039;center&#039;,pack:&#039;center&#039;}
    ,style:&#039;background:#F0FFF0;&#039;
    ,items:    [
            {html:&#039;&lt;img style=&quot;height: 24px;&quot; src=&quot;../Resources/kblogo.png&quot; /&gt;&#039;}
            ,{
                xtype:&#039;button&#039;
                ,text:&#039;Open Sesame!&#039;
                ,cls:&#039;kermitbtn&#039;
                ,handler: myApp.views.functionality.…</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/check_whether_a_var_is_a_function?rev=1699138926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:HowTo:Check whether a var is a function</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/check_whether_a_var_is_a_function?rev=1699138926&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:HowTo:Check whether a var is a function

	* (UP)
howto index


    Ensure there is a button handler:
    config.buttonCallback = 
      Ext.isFunction(config.buttonCallback)
      ? config.buttonCallback
      : function(butt) { app.services.environmentService.restart();};</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/communicate_with_an_mvc_app?rev=1699062974&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Communicate with an MVC App</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/communicate_with_an_mvc_app?rev=1699062974&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Communicate with an MVC App

	* (UP)
howto index



Resources

	* http://www.youtube.com/watch?v=ilmepADpAIg&amp;feature=related</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/create_a_first_app?rev=1699138928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:create_a_first_app</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/create_a_first_app?rev=1699138928&amp;do=diff</link>
        <description>http/docs.sencha.com/touch/2-0/#!/guide/getting_started</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/create_an_app_skeleton?rev=1699138927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:create_an_app_skeleton</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/create_an_app_skeleton?rev=1699138927&amp;do=diff</link>
        <description>ESSENTIAL:

&lt;http://www.sencha.com/blog/behind-sencha-command-and-the-build-process&gt;</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/create_an_ext_compliant_class?rev=1699138927&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:HowTo:Create an Ext Compliant Class</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/create_an_ext_compliant_class?rev=1699138927&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:HowTo:Create an Ext Compliant Class

	* (UP)
howto index


    Ext.define(&#039;My.awesome.Class&#039;, {
      someProperty: &#039;something&#039;,

      Optionally:
      extend: &#039;Ext.panel.Panel&#039;,

      Optionally:
      requires: [
         &#039;Ext......&#039;,
      ],

      constructor: function (config) {
        this.callParent(arguments);</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/customize_appearance_of_listview?rev=1699138928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Resources</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/customize_appearance_of_listview?rev=1699138928&amp;do=diff</link>
        <description>Resources

	* http://jbkflex.wordpress.com/2011/08/24/customizing-the-list-control-sencha-touch/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/debug_the_api?rev=1699138929&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Debug the api</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/debug_the_api?rev=1699138929&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Debug the api

	* (UP)
howto index



Summary

See: sencha-touch-all-debug-w-comments

References

	* http://stackoverflow.com/a/7820928/1052767</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/delay_the_launch_sequence?rev=1699062975&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Delay the launch sequence</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/delay_the_launch_sequence?rev=1699062975&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Delay the launch sequence

	* (UP)
howto index



Summary

The issue is Views. They have a init even in their config, that is called:

	* before guarantee that required files have arrived (eg: resourceService).
	* and before the application&#039;s launch event can slow things down (by calling itself with a setTimeout or other similar solution.</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/deployment?rev=1699062976&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:HowTo:Deployment</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/deployment?rev=1699062976&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:HowTo:Deployment

	* (UP)
howto index



JSBuilder

	* http://www.akawebdesign.com/2011/11/17/sencha-sdk-tools-jsbuilder/
	* http://code.google.com/p/webclient-mobile-for-ca-plex/source/browse/trunk/res/js/sencha-touch.jsb3?spec=svn81&amp;r=81

Example invocation:
//Win: 
call C:\Tools\jsmin\jsmin.exe &lt; %fileName% &gt; mobile-hades-min.js

//iMac
/usr/share/jsmin/jsmin &lt; $filename &gt; mobile-hades-min.js</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/deployment2?rev=1699062977&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:HowTos:Deployment</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/deployment2?rev=1699062977&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:HowTos:Deployment

	* (UP)
howto index



JSBuilder

	* http://www.akawebdesign.com/2011/11/17/sencha-sdk-tools-jsbuilder/
	* http://code.google.com/p/webclient-mobile-for-ca-plex/source/browse/trunk/res/js/sencha-touch.jsb3?spec=svn81&amp;r=81

Example invocation:
//Win: 
call C:\Tools\jsmin\jsmin.exe &lt; %fileName% &gt; mobile-hades-min.js

//iMac
/usr/share/jsmin/jsmin &lt; $filename &gt; mobile-hades-min.js</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/encode_an_array_as_json?rev=1699062977&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Encode an array as JSON</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/encode_an_array_as_json?rev=1699062977&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Encode an array as JSON

	* (UP)
howto index



Process
var data = 
  {
    settings: settingsArr, 
    contactInfo: myContactInfo};

Ext.Ajax.request(
  {
  url: &#039;save.php&#039;,
  params: {json: Ext.encode(data) },
  success: function(response, opts) {
    // celebrate
  }
});</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/implement_security?rev=1699062978&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:HowTo:Implement Security</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/implement_security?rev=1699062978&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:HowTo:Implement Security

	* (UP)
howto index



There&#039;s a good same on how to handle OAuth here:

Process

Resources

	* http://caligatio.github.com/jsSHA/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/install?rev=1699062978&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Install</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/install?rev=1699062978&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Install

	* (UP)
howto index



Process

	* Download:
		* The Sencha Touch SDK
		* The Sencha Touch SDK Tools


Download the Sencha Touch SDK

* Downlaod the Sencha Touch SDK

	*  Download SDK
		*  An email will be sent with a link to download a</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/json_request?rev=1699138930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:json_request</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/json_request?rev=1699138930&amp;do=diff</link>
        <description>Create an argument package:

Encode it:
//Shorthand for Ext.util.JSON.encode
var jsonString = Ext.encode (argPkg); 
Or do both at once:
var json = Ext.encode({
    &quot;PINSet&quot;: {
        &quot;PIN&quot;: pin.value(),
        &quot;ConfirmationPIN&quot;: confirmPin.value(),
        &quot;PINHash&quot;: pin.hash(),
        &quot;Device&quot;: {
            &quot;UUID&quot;: device.uid,
            &quot;Platform&quot;: device.platform,
            &quot;Version&quot;: device.version,
            &quot;Name&quot;: device.name
        }
    }
});</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/load_views_dynamically?rev=1699138930&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Load Views Dynamically</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/load_views_dynamically?rev=1699138930&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Load Views Dynamically

	* (UP)
howto index



Neat:

	* ST1.1:
		* http://www.onlinesolutionsdevelopment.com/blog/web-development/javascript/loading-sencha-touch-controllers-and-view-files-dynamically/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/load_views_dynamically2?rev=1699138931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTos:Load Views Dynamically</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/load_views_dynamically2?rev=1699138931&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTos:Load Views Dynamically

	* (UP)
howto index



Neat:

	* ST1.1:
		* http://www.onlinesolutionsdevelopment.com/blog/web-development/javascript/loading-sencha-touch-controllers-and-view-files-dynamically/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/localize_the_views?rev=1699138932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Resources</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/localize_the_views?rev=1699138932&amp;do=diff</link>
        <description>Resources

	* http://wtcindia.wordpress.com/2011/11/26/localizing-sencha-touch-application/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/modal_dialogs?rev=1699138932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:modal_dialogs</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/modal_dialogs?rev=1699138932&amp;do=diff</link>
        <description>//Ext.Msg.alert(&#039;Test&#039;, &quot;About&#039;s index action was called!&quot;);</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/native_packaging?rev=1699062979&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Native Packaging</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/native_packaging?rev=1699062979&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Native Packaging

	* (UP)
howto index



Read this to find the relevant link:
&lt;http://www.sencha.com/blog/sencha-touch-2-developer-preview/&gt;

Resources

* http://www.sencha.com/blog/sencha-touch-2-developer-preview/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/prepare_a_deployment_package?rev=1699138933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:prepare_a_deployment_package</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/prepare_a_deployment_package?rev=1699138933&amp;do=diff</link>
        <description>http/colinramsay.co.uk/diary/2012/05/02/the-sencha-touch-2-microloader-sencha-command/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/refresh_data_on_every_view?rev=1699062981&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Refresh data on every view</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/refresh_data_on_every_view?rev=1699062981&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Refresh data on every view

	* (UP)
howto index



Process

Example:
listeners: {
  show: function(list, opts){
    this.getStore().load();
  }
}
References

	* http://docs.sencha.com/touch/2-0/#!/api/Ext.Component-event-initialize</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/set_history_to_new_route?rev=1699138934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:set_history_to_new_route</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/set_history_to_new_route?rev=1699138934&amp;do=diff</link>
        <description>this.getApplication().getHistory().add(new Ext.app.Action({
  url: &#039;tab/&#039; + value.getItemId()
}), true);</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/set_icons_per_row?rev=1699138935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Resources</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/set_icons_per_row?rev=1699138935&amp;do=diff</link>
        <description>Resources

	* http://www.sencha.com/forum/showthread.php?243634-List-items-with-custom-icons</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/setup_events_handlers_in_views?rev=1699062981&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:HowTo:Setup Event Handlers in Views</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/setup_events_handlers_in_views?rev=1699062981&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:HowTo:Setup Event Handlers in Views

	* (UP)
howto index



Process

As per lifespan, use the View&#039;s initialize event to add items:
    //NB: use &#039;get&#039; (not [pos]) as &#039;items&#039; is a &#039;MixedCollection&#039;.
    //Scope set via second argument:
    this.items.get(5).on(&#039;tap&#039;, this.buttonHandler, this);</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/setup_sass?rev=1699138934&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:setup_sass</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/setup_sass?rev=1699138934&amp;do=diff</link>
        <description>http://francisshanahan.com/index.php/2011/how-to-theme-sencha-touch-sass-windows/

http://www.netmagazine.com/tutorials/styling-user-interface-sencha-touch-application</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/sync_localstorage_and_remote_data?rev=1699138936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:sync_localstorage_and_remote_data</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/sync_localstorage_and_remote_data?rev=1699138936&amp;do=diff</link>
        <description>http/lalexgraham.wordpress.com/2012/09/12/sencha-touch-2-example-of-syncing-localstorage-store-with-remote-jsonp-proxy-store/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/update_tabbutton_badges?rev=1699138936&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>it:ad:sencha_touch:howto:update_tabbutton_badges</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/update_tabbutton_badges?rev=1699138936&amp;do=diff</link>
        <description>http/senchaexamples.com/2012/03/05/setting-the-badge-text-on-an-ext-tabpanel-containers-tab-in-sencha-touch-2/</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/use_a_currencyfield?rev=1699062982&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Use a CurrencyField</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/use_a_currencyfield?rev=1699062982&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Use a CurrencyField

	* (UP)
howto index



You can&#039;t use one...as there isn&#039;t one.

You have to make your own:
Ext.define(&#039;CurrencyField&#039;, {
    extend: &#039;Ext.form.field.Number&#039;,

    // Some sensible defaults
    allowDecimals: true,
    hideTrigger: true,
    keyNavEnabled: false,
    mouseWheelEnabled: false,

    valueToRaw: function() {
        var value = this.parseValue(this.callParent(arguments));

        return Ext.util.Format.number(value, &#039;0.00&#039;);
 …</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/use_a_currencyfield2?rev=1699062982&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTos:Use a CurrencyField</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/use_a_currencyfield2?rev=1699062982&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTos:Use a CurrencyField

	* (UP)
howto index



You can&#039;t use one...as there isn&#039;t one.

You have to make your own:
Ext.define(&#039;CurrencyField&#039;, {
    extend: &#039;Ext.form.field.Number&#039;,

    // Some sensible defaults
    allowDecimals: true,
    hideTrigger: true,
    keyNavEnabled: false,
    mouseWheelEnabled: false,

    valueToRaw: function() {
        var value = this.parseValue(this.callParent(arguments));

        return Ext.util.Format.number(value, &#039;0.00&#039;);
…</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/use_the_lifespan?rev=1699138937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Use the Lifespan</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/use_the_lifespan?rev=1699138937&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Use the Lifespan

	* (UP)
howto index



Controllers

init is used in controllers to tell you when the after the controller is instantiated, but before the browser is ready. The launch method is called in your controller when the browser is ready (dom ready).</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/work_with_ajax?rev=1699138938&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Resources</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/work_with_ajax?rev=1699138938&amp;do=diff</link>
        <description>Resources

	* http://docs.sencha.com/core/manual/content/ajax.html</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/work_with_buttons?rev=1699138938&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Resources</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/work_with_buttons?rev=1699138938&amp;do=diff</link>
        <description>You can stick 
defaults: { handler: tapHandler }
on a toolbar so that all buttons call the same handler:
 var tapHandler = function (btn, evt) {
   alert(&quot;Button &#039;&quot; + btn.text + &quot;&#039; tapped.&quot;);
 }
Good example:
 {
 xtype: &#039;toolbar&#039;,
 title: &#039;Buttons&#039;,
 ui: &#039;dark&#039;,
 dock: &#039;top&#039;,
 items: [
        { ui: &#039;back&#039;, text: &#039;Back&#039; },
        { xtype: &#039;spacer&#039; },
        { ui: &#039;forward&#039;, text: &#039;Forward&#039; }
        ]
,defaults: { handler: tapHandler }
 }</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/work_with_buttons2?rev=1699138939&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T23:02:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Resources</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/work_with_buttons2?rev=1699138939&amp;do=diff</link>
        <description>You can stick 
defaults: { handler: tapHandler }
on a toolbar so that all buttons call the same handler:
 var tapHandler = function (btn, evt) {
   alert(&quot;Button &#039;&quot; + btn.text + &quot;&#039; tapped.&quot;);
 }
Good example:
 {
 xtype: &#039;toolbar&#039;,
 title: &#039;Buttons&#039;,
 ui: &#039;dark&#039;,
 dock: &#039;top&#039;,
 items: [
        { ui: &#039;back&#039;, text: &#039;Back&#039; },
        { xtype: &#039;spacer&#039; },
        { ui: &#039;forward&#039;, text: &#039;Forward&#039; }
        ]
,defaults: { handler: tapHandler }
 }</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/work_with_paths?rev=1699062984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:HowTo:Work with Paths</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/work_with_paths?rev=1699062984&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:HowTo:Work with Paths

	* (UP)

Processes

You redirect to paths either by using the current controller, or getting back to the current app instance (via app.app property) as follows:
//since 2.01, the .app property can be used to get the app instance.
app.app.redirectTo(url);
//from a controller, it would be 
//this.redirectTo(&quot;help/about&quot;);</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/work_with_taskrunner_and_delayedtask?rev=1699062984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Work with TaskRunner and DelayedTask</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/work_with_taskrunner_and_delayedtask?rev=1699062984&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Work with TaskRunner and DelayedTask

	* (UP)
howto index



Summay

Resources

	* http://docs.sencha.com/core/manual/content/timers.html</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/working_with_panel_tabs?rev=1699062983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTo:Working with Panel Tabs</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/working_with_panel_tabs?rev=1699062983&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTo:Working with Panel Tabs

	* (UP)
howto index



#### Define A Tab ####

Done with Maps (Warning: Markdown Munging):
{
    title: tabTitle,
    iconCls: &#039;tabs&#039;,
    autoLoad: {url: targetUrl, callback: this.initSearch, scope: this},
    closable:true
}</description>
    </item>
    <item rdf:about="https://skysigal.com/it/ad/sencha_touch/howto/working_with_panel_tabs2?rev=1699062983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-04T01:56:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IT:AD:Sencha Touch:Reference:HowTos:Working with Panel Tabs</title>
        <link>https://skysigal.com/it/ad/sencha_touch/howto/working_with_panel_tabs2?rev=1699062983&amp;do=diff</link>
        <description>IT:AD:Sencha Touch:Reference:HowTos:Working with Panel Tabs

	* (UP)
howto index



#### Define A Tab ####

Done with Maps (Warning: Markdown Munging):
{
    title: tabTitle,
    iconCls: &#039;tabs&#039;,
    autoLoad: {url: targetUrl, callback: this.initSearch, scope: this},
    closable:true
}</description>
    </item>
</rdf:RDF>
