Search:

Type: Posts; User: discobean

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    502

    I'd gotten rid of all the id's and it works. I...

    I'd gotten rid of all the id's and it works. I don't know what other problems not having id's will do, but at least the linking is working as expected. :)
  2. Replies
    5
    Views
    502

    I just don't understand the point of linking if...

    I just don't understand the point of linking if its meant for re-use but you can't re-use anything. In any sane way.
  3. Replies
    5
    Views
    502

    I did this and it worked, partly: var...

    I did this and it worked, partly:

    var myTabPanel = Ext.getCmp('venueTabPanel');
    var loginContainer = Ext.getCmp('loginContainer');
    myTabPanel.add(loginContainer);

    Problem is now, when I go...
  4. Replies
    5
    Views
    502

    I was thinking whether I could add an already...

    I was thinking whether I could add an already created component to a tabpanel like so:

    var loginContainer = Ext.getCmp('loginContainer');


    myTabPanel.add({
    title : 'Login'
    WHAT TO...
  5. Replies
    5
    Views
    502

    Container linked to multiple TabPanels

    Hi,

    I have a container that is linked to 2 tabpanels. The first tabpanel that is loaded works fine.

    However when I navigate to the second tab panel, the container is not loaded. And instead...
  6. Replies
    2
    Views
    599

    I've also tried associating the model, and...

    I've also tried associating the model, and loading the JSON, but it only loads the parent object, not the children.
  7. Replies
    2
    Views
    599

    I have looked at assocation HasMany...

    I have looked at assocation HasMany http://docs.sencha.com/touch/2-0/#!/api/Ext.data.association.HasMany

    But the example explains how the model children are automatically loaded and filtered. ...
  8. Replies
    2
    Views
    599

    Fetching data using Model with Children

    Hi,

    I have am fetching some data via JsonP, it has a one-to-many relationship with 'Parent' and 'Child' models.

    My Json has a variable called 'children' in Parent, which is an array of Child...
  9. Replies
    1
    Views
    418

    I actually just updated the initial controller to...

    I actually just updated the initial controller to slide to the right. But I don't think this is the right way, because this controller shouldn't have to know how to make a view 're-appear' based on...
  10. Replies
    1
    Views
    418

    Back button sliding wrong way

    Hi,

    I have a Container I am bringing to the view like so from a route:
    var c = Ext.getCmp('venueContainer');
    if(c === undefined) c = Ext.create('Cups.view.VenueContainer');
    ...
  11. Replies
    1
    Views
    2,393

    I have figured it out, you have to use...

    I have figured it out, you have to use animateActiveItem()

    Ext.Viewport.animateActiveItem(c, {type:'slide'});
  12. Replies
    1
    Views
    2,393

    Ext.Viewport.setActiveItem not sliding

    Hi,

    I am coming from one controller, and using routing, going to the next controller.

    In the next controller (in the router) I have this code:
    var c = Ext.getCmp('venueContainer');
    ...
  13. Replies
    2
    Views
    648

    I figured this out, I just removed and re-added...

    I figured this out, I just removed and re-added the route rule and that part was ok.

    I also get the component instead of always creating it, this makes sure the back/forward buttons work as...
  14. Replies
    2
    Views
    648

    Routing and redirectTo()

    Hi,

    I have a route that works when I go directly to the URL #venue/1234

    However, when using redirectTo('venue/1234'), the Container is not initialised or shown.

    Here is the route function:
    ...
  15. I would like to see some examples linked from...

    I would like to see some examples linked from here: http://docs.sencha.com/architect/2-0/#!/guide

    All the examples in that guide just show where things are in architect, rather than explain how to...
  16. Replies
    2
    Views
    432

    I also noticed I have a third controller defined...

    I also noticed I have a third controller defined in Architect, but its not listed in the Application configuration:

    controllers: [
    'NoGeoController',
    'SearchController'
    ...
  17. Replies
    2
    Views
    432

    I don't know why it wasn't being called, but I...

    I don't know why it wasn't being called, but I deleted the controller and re-added it again and it is now called.

    The problem I have now, is all controllers init() and launch() are run one after...
  18. Replies
    2
    Views
    432

    Defaultl controller

    Hi,

    For some reason my application is going to a controller, and totally skipping the Applications launch() function.

    Instead I want to call the Applications launch() function, and then decide...
  19. Replies
    1
    Views
    682

    Getting the messageProperty field

    Hi, in my reader I have specified the messageProperty field as 'message', and the success field as 'success'.

    Here is the json I am fetching:
    {
    success: false,
    message: "This is...
  20. [CLOSED] Constant in 'url' of Ext.data.proxy.JsonP

    Hi,

    I have created a constants class, and I'd like to use this to set the 'url' property of an Ext.data.proxy.JsonP

    So I create a new JsonP in Architect, and try to set the 'url', but it borks...
  21. Replies
    2
    Views
    911

    [DUP] method in extraParams

    Hi,

    I create an object in extraParams of a Ext.data.proxy.JsonP like so:{
    'p': 'venue',
    'a': 'searchNearby',
    'lat': Cups.app.getLat()
    }

    The result in the code is this:
    ...
  22. Replies
    13
    Views
    6,357

    I have to agree, there are not many decent...

    I have to agree, there are not many decent guides, and what there is are usually lacking in some way, things are not fully explained.

    This is especially true with jumping right into Architect 2,...
  23. Figured it out

    I just figured it out.

    I add a Container with a vbox layout inside the parent Fit Container, then set a static height for the form, and a flex for the List.

    Hope this helps anybody else.
    ...
  24. 2 Componenets (Form + List) inside a Container using 'fit' layout

    Hi,

    I have 2 components, Ext.form.Panel and Ext.dataview.List

    They both sit inside a Ext. Container

    The problem I have is when I set the Ext.Container layout to fit, the List will stretch...
Results 1 to 24 of 24