Search Type: Posts; User: discobean
Search: Search took 0.03 seconds.
-
12 Jul 2012 4:45 AM
- Replies
- 5
- Views
- 270
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. :)
-
12 Jul 2012 4:09 AM
- Replies
- 5
- Views
- 270
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.
-
12 Jul 2012 4:07 AM
- Replies
- 5
- Views
- 270
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... -
12 Jul 2012 4:03 AM
- Replies
- 5
- Views
- 270
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... -
12 Jul 2012 3:44 AM
- Replies
- 5
- Views
- 270
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... -
11 Jul 2012 6:02 PM
- Replies
- 2
- Views
- 339
I've also tried associating the model, and loading the JSON, but it only loads the parent object, not the children.
-
11 Jul 2012 6:01 PM
- Replies
- 2
- Views
- 339
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. ... -
11 Jul 2012 5:18 AM
- Replies
- 2
- Views
- 339
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... -
10 Jul 2012 6:18 PM
Jump to post Thread: Back button sliding wrong way by discobean
- Replies
- 1
- Views
- 171
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 Jul 2012 6:06 PM
Jump to post Thread: Back button sliding wrong way by discobean
- Replies
- 1
- Views
- 171
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');
... -
10 Jul 2012 5:58 PM
- Replies
- 1
- Views
- 720
I have figured it out, you have to use animateActiveItem()
Ext.Viewport.animateActiveItem(c, {type:'slide'}); -
10 Jul 2012 5:51 PM
- Replies
- 1
- Views
- 720
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');
... -
10 Jul 2012 4:09 PM
Jump to post Thread: Routing and redirectTo() by discobean
- Replies
- 2
- Views
- 328
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... -
10 Jul 2012 5:58 AM
Jump to post Thread: Routing and redirectTo() by discobean
- Replies
- 2
- Views
- 328
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:
... -
10 Jul 2012 1:18 AM
- Replies
- 54
- Views
- 15,901
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... -
10 Jul 2012 12:50 AM
Jump to post Thread: Defaultl controller by discobean
- Replies
- 2
- Views
- 215
I also noticed I have a third controller defined in Architect, but its not listed in the Application configuration:
controllers: [
'NoGeoController',
'SearchController'
... -
10 Jul 2012 12:47 AM
Jump to post Thread: Defaultl controller by discobean
- Replies
- 2
- Views
- 215
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... -
10 Jul 2012 12:30 AM
Jump to post Thread: Defaultl controller by discobean
- Replies
- 2
- Views
- 215
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... -
6 Jul 2012 1:01 AM
- Replies
- 1
- Views
- 342
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... -
6 Jul 2012 12:57 AM
- Replies
- 1
- Views
- 466
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... -
6 Jul 2012 12:52 AM
Jump to post Thread: method in extraParams by discobean
- Replies
- 2
- Views
- 560
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:
... -
24 Jun 2012 5:42 PM
- Replies
- 10
- Views
- 2,962
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,... -
4 Jun 2012 8:19 PM
- Replies
- 1
- Views
- 259
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.
... -
4 Jun 2012 8:12 PM
- Replies
- 1
- Views
- 259
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
