Search Type: Posts; User: slchorne

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. encode( o ) : String
    Shorthand for Ext.JSON.encode.

    BUT, if you read my last post you would see that Ext.util.JSON.encode is DIFFERENT from Ext.JSON.encode.
    AND, Ext.encode is re-defined in...
  2. I'm not sure what you mean by 'defined on accessible'?

    Is there a different way to get to 'Ext.util.JSON' ?

    on line 3791 of 'sencha-touch-all-debug.js' Ext.encode is defined as thus:
  3. So what is the name of the themes in 'touch/resources/themes' if none of these settings work:

    Sencha Cmd v4.0.1.45
    [WRN] Failed to resolve package ext-theme-tizen
    [ERR] Theme "ext-theme-tizen"...
  4. Replies
    you are correct that using sencha command will build you a minimal ext.js with just the classes you need.

    but be warned:

    ext-all-debug.js seems to contain additional methods and code that...
  5. in the microloader there is this chunk of code :

    for (i = 0,ln = styleSheets.length; i < ln; i++) {
    path = styleSheets[i];

    if (typeof path != 'string') {
  6. whats the 'best' way to switch to a different default theme.

    I just copied a sass file from 'touch/resources/sass/' into 'resources/sass'

    But is there a better way to do this in app.json or...
  7. In resources/sass/config.rb the format is 'output_style = :compressed'

    In my testing builds I'm thus getting compressed css, which makes it hard to debug.
    ( Sencha Cmd v4.0.1.45 )

    How do I...

    Sencha Cmd version(s) tested:

    Sencha Cmd v4.0.1.45

    Operating System:
  9. This does not work, title is still 'bad title'

    var myPanel = Ext.create('Ext.Panel',{
    title: 'test'

    var myFS = Ext.create('Ext.form.FieldSet',{
  10. <pre class="bbcode_code" style="height:372px;">REQUIRED INFORMATION

    Ext version tested:

    Ext 4.1.1a

    Browser versions tested against:
  11. Replies
    Since I spent most of the last day tearing my hair out over this, does sencha touch use init() or initialize() for components ( inside Ext.define() )?

    I finally got my code working, but along the...
  12. I'm still kinda mad at this.

    in 'sencha-touch-2.0.0-gpl' it is 'rootProperty'
    but in 'ext-4.0.7-gpl' it is just the good old 'root'

    I spent the last 3 hours tearing my hair out over this,...
  13. So, after more digging and debugging I found out that the individual SDKs (Touch, ext4) override the script that's in 'command/sencha'.

    This is why all the demos and tutes make you 'cd' to the SDK...
  14. Replies
    it turns that the sencha touch SDK, (NOT the SenchaSDKTools) has its OWN COPY of sencha command that behaves completely differently.

    If you look in the SDK there is a folder...
  15. I see a lot of tutes/docs/forum posts that talk about commands like

    'sencha generate app GS ../GS'

    but it looks like the SenchaSDKTools-2.0.0-Beta doesn't have the 'generate' command.

  16. If you install the sdk and aren't using /bin/bash as your shell, you will probably get an installation error. This is (it seems) because the installer wants to add stuff to your bashrc to work...
  17. you need to add the following to your path (massage accordingly)

    export PATH=/Applications/SenchaSDKTools-2.0.0-Beta:$PATH
    export PATH=/Applications/SenchaSDKTools-2.0.0-Beta/command:$PATH...
  18. the installer (especially on a mac) doesn't tell you what paths it needs to run or what dependencies the binaries have.
    if /bash isn't your default shell, the installer crashes, and you end up...
  19. Replies
    I'm not sure what you mean (this is where my MVC education grinds to a halt).
    Can you provide an example ?
  20. Replies
    That would also explain this bug:
  21. It looks like it is related to this bug :
  22. Replies
    I tried both 'tap' and 'itemtap' (the jury is still out on which one is correct, if you read the threads) and neither of them work.

    If I add a listener directly to the button, it does work, but...
  23. Replies
    I'm not sure what you mean. 'refs' are just shortcuts to let you get to the object via a different namespace. But they only are useful when you are in the actual even handler. And '#mybutton' should...
  24. I'm not sure why, but as soon as I define a toolbar (even if it isn't rendered or added to a panel) all button event handlers stop working. In the example below the button works just fine, but as...
  25. Replies
    I'm trying to wrap my head around MVC, but I can't seem to get a simple button handler event to work. I've defined a simple panel with a single button. But when i click/tap on the button, the event...
Results 1 to 25 of 37
Page 1 of 2 1 2