Search:

Type: Posts; User: MattUCG

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. I didn't mean load the file dynamically, I mean...

    I didn't mean load the file dynamically, I mean 'activating' the controller for the active profile. Lets say there is a button which is displayed in every profile. Depending on which profile I am in,...
  2. No, they are in the config for the profile. I...

    No, they are in the config for the profile. I know that I can put them both in the application, and have them load at startup, but I was hoping to load them dynamically when the active profile...
  3. Ext.app.Application.setCurrentProfile() and profile-specific controllers

    I have an app with two profiles: One for tablets in portrait mode, and one for tablets in landscape mode.

    Each of the profiles defines its own controller...
  4. Replies
    6
    Views
    1,670

    I am defining isActive in the profile. It's...

    I am defining isActive in the profile.

    It's adding "object" because I am treating the string like an object. Running the following line of javascript demonstrates:

    "test".hello()

    TypeError:...
  5. Replies
    6
    Views
    1,670

    That doesn't seem to work. The array returned by...

    That doesn't seem to work. The array returned by getProfiles() contains strings, not objects. When I call isActive() on profiles[i], i get:

    Uncaught TypeError: Object...
  6. Replies
    6
    Views
    1,670

    All I was missing was a manual call to the...

    All I was missing was a manual call to the profile's launch function:



    Ext.define('SenchaProfiles.controller.Main', {
    extend: 'Ext.app.Controller',

    config: {
    refs: {
    ...
  7. Replies
    6
    Views
    1,670

    Ext.app.Application.setCurrentProfile

    I am attempting to programatically switch the active profile and redraw the viewport whenever the orientation changes. I was hoping for something like ST1's determineProfile function, which would...
  8. Replies
    4
    Views
    2,120

    It is an open bug: ...

    It is an open bug:

    http://www.sencha.com/forum/showthread.php?193546
  9. [OPEN] ListPaging plugin interferes with Ext.List default load mask

    Whenever you have a List which uses the ListPaging plugin, the load mask is only shown on the first load. Each subsequent load shows no mask. The mask behavior returns to normal by commenting out the...
  10. Replies
    4
    Views
    2,120

    The problem appears to be with the ListPaging...

    The problem appears to be with the ListPaging plugin. Adding the plugin causes the load mask to stop working after the first load. Here is a complete example of the problem using Twitters's JSON API:...
  11. Replies
    4
    Views
    2,120

    Ext.List LoadMask only shows on first load

    My app has a search form that takes user input and binds search results to an Ext.List object (I am also using the ListPaging plugin). In the submit delegate for the search form, I run the following...
  12. Replies
    27
    Views
    6,485

    passion4code's suggestion worked for me, but you...

    passion4code's suggestion worked for me, but you can take it one step further.

    PullRefresh requires that each model instance have a unique identifier. It checks that id to determine if two...
  13. Replies
    1
    Views
    510

    Handling Errors in a JsonP Proxy

    I am using a store which is automatically populated from a JsonP service. From time to time, the service will not work, and I would like to handle this case in the code, but I'm not sure where to add...
  14. Replies
    3
    Views
    1,897

    Ok, that's cool. You should probably update this...

    Ok, that's cool. You should probably update this page:

    http://docs.sencha.com/touch/2-0/#!/guide/building
  15. Replies
    3
    Views
    1,897

    Dynamic Loading (Beta 3)

    For some reason, when I use sencha-touch.js, I cannot use dynamic loading, but sencha-touch-debug works fine



    <!DOCTYPE HTML>
    <html>
    <head>
    <link rel="stylesheet"...
  16. Replies
    3
    Views
    2,313

    Can you provide a small example of calling...

    Can you provide a small example of calling setExtraParam()?
  17. Replies
    2
    Views
    734

    Are you using a controller...

    Are you using a controller?
  18. Replies
    3
    Views
    2,313

    Paging a list of search results (Beta 2)

    I have a simple search form. When it is submitted, the following code is run:



    var searchValue = Ext.getCmp('searchField').getValue();
    var store =...
  19. Replies
    3
    Views
    943

    I think you need to add the panel to your...

    I think you need to add the panel to your viewport



    Ext.Viewport.add(Ext.create('Test.view.FirstPage'));
  20. Changing { xclass:...

    Changing



    { xclass: 'TestApp.view.ListPanel' },


    to
  21. Ext.dataview.List inside of a Ext.Container (Beta 2)

    I have an MVC app that uses an Ext.Container which has a toolbar and list. The problem is that the list inside the container does not display.

    The following is the most simple test I could come up...
  22. Replies
    2
    Views
    3,970

    Thanks for the help :D

    Thanks for the help :D
  23. Replies
    2
    Views
    3,970

    Ext.data.Store: create vs. define

    In the documentation examples I've seen, stores are defined using Ext.create, but in the demo apps like KitchenSink (e.g. kitchensink\app\store\Demos.js), i see the Ext.define syntax. Are both valid?...
  24. Replies
    1
    Views
    1,038

    Custom Panel Types

    I am attempting to create a Tab Panel in which each panel is its own custom type. I have simplified the concept as much as possible, but eventually the custom panel types will have logic and styling...
  25. Replies
    141
    Views
    18,470

    The last day's weather has a strange vertical...

    The last day's weather has a strange vertical offset:

    29762
Results 1 to 25 of 39
Page 1 of 2 1 2