Search Type: Posts; User: fx-mike
Search: Search took 0.02 seconds.
-
14 Dec 2011 7:59 AM
- Replies
- 16
- Views
- 4,403
Not sure where you're going wrong, I can't help you if you don't show me your relevant code. Does the id match your list id?
-
14 Dec 2011 1:34 AM
- Replies
- 16
- Views
- 4,403
That is the image file you want to use as mask. You can use an online converter tool to get the base64 encoded string for your images.
-
8 Nov 2011 1:00 AM
- Replies
- 6
- Views
- 1,191
You need to fix this directly in the sencha touch code, so it would be best to create an override for this method.
-
31 Aug 2011 6:53 AM
Jump to post Thread: clear store by fx-mike
- Replies
- 3
- Views
- 2,293
interesting, I didn't know that.
thanks :D -
31 Aug 2011 6:28 AM
Jump to post Thread: clear store by fx-mike
- Replies
- 3
- Views
- 2,293
store.remove(store.getRange());
-
31 Aug 2011 1:26 AM
- Replies
- 10
- Views
- 2,826
The JSBuilder that comes bundled with the sencha touch download works fine for me.
Copy the jsbuilder folder to the lib/touch folder in your project (actually, you could put it anywhere you... -
30 Aug 2011 8:49 AM
- Replies
- 2
- Views
- 1,108
Write a custom reader and put the object inside of an array for further processing.
You can find a code sample here:... -
30 Aug 2011 5:26 AM
Jump to post Thread: Sencha Touch MVC and Namespaces by fx-mike
- Replies
- 2
- Views
- 811
I put my extra name spaces in app.js, but I don't have many to add. Adding a namespace to the first js file that uses it seems kind of unsafe. I think you can add the same namespace to multiple files...
-
30 Aug 2011 2:07 AM
Jump to post Thread: problem with togglefield by fx-mike
- Replies
- 6
- Views
- 597
Maybe switching over to an MVC-style application is an option for you. If it is, there is a nice tutorial in the learn section and there are bundled examples with the sencha touch download.
If not,... -
30 Aug 2011 1:53 AM
Jump to post Thread: problem with togglefield by fx-mike
- Replies
- 6
- Views
- 597
You can't just slap a new fullscreen panel over an old panel. At least call rootform.hide() in your button handler. But maybe you better set up a viewport with a card layout and start switching cards...
-
30 Aug 2011 1:31 AM
Jump to post Thread: problem with togglefield by fx-mike
- Replies
- 6
- Views
- 597
some code would definitely help in debugging your problem
-
30 Aug 2011 1:25 AM
Jump to post Thread: Draggable panel by fx-mike
- Replies
- 1
- Views
- 764
I'm trying to create a floating panel that is draggable, which works fine so far.
But I would like to restrict the drag event to the border of the panel, while a drag on the inner x-panel-body... -
30 Aug 2011 12:33 AM
- Replies
- 3
- Views
- 952
Write a custom xml reader, like this:
app.readers.customreader = Ext.extend(Ext.data.XmlReader, {
readRecords: function(doc) {
if (Ext.isArray(doc)) {
doc = doc[0];... -
30 Aug 2011 12:00 AM
Jump to post Thread: App Conversion by fx-mike
- Replies
- 1
- Views
- 376
Sencha Touch allows you to write web apps. To build native apps out of these, you need to wrap them with phonegap, nimblekit or a similar wrapper. As for automation, phonegap has some sort of build...
-
26 Aug 2011 7:53 AM
Jump to post Thread: How to get a SelectField value by fx-mike
- Replies
- 3
- Views
- 792
glad I could help :)
-
26 Aug 2011 5:50 AM
- Replies
- 4
- Views
- 708
I guess setActiveItem doesn't take config objects. Try this instead:
sink.Main.ui.layout.setActiveItem(Ext.create({xtype:'panel',html:'test'}),'slide'); -
26 Aug 2011 5:22 AM
- Replies
- 4
- Views
- 708
setCard has been deprecated for a while, setActiveItem is the way to go.
It might be noteworthy that setCard is still in the code referenced by the official docs, but it's not in 1.1 or even 1.01... -
26 Aug 2011 4:45 AM
- Replies
- 3
- Views
- 1,313
Alternatively, check if you have a line similar to this in your config.rb
# Load the sencha-touch framework automatically.
load File.join(dir, '..', '..', 'lib', 'touch', 'resources',... -
26 Aug 2011 4:36 AM
Jump to post Thread: Selenium Testing by fx-mike
- Replies
- 2
- Views
- 921
I am also very interested in this. I am just getting started with unit testing my app and still need to figure out some best practices.
-
26 Aug 2011 4:29 AM
Jump to post Thread: How to get a SelectField value by fx-mike
- Replies
- 3
- Views
- 792
listen for the change event on your select field:
http://dev.sencha.com/deploy/touch/docs/#expand?class=Ext.form.Select -
23 Aug 2011 8:22 AM
- Replies
- 2
- Views
- 2,419
I use this in my app.js
phoneGapAvailable: function() {
return typeof(PhoneGap) != 'undefined';
}
It has worked so far, but I haven't tested it thoroughly yet. Maybe someone has an... -
23 Aug 2011 6:08 AM
Jump to post Thread: Sencha Touch and TDD by fx-mike
- Replies
- 4
- Views
- 1,182
jasmine allows you to return mock responses for ajax calls, so there is no need to make the actual call.
I don't have an example ready, but the docs are sure to have a nice one -
23 Aug 2011 6:05 AM
Jump to post Thread: 4 column layout by fx-mike
- Replies
- 1
- Views
- 345
You could use something along the lines of
{
xtype: 'panel',
layout: {
type: 'hbox',
align: 'stretch',
pack: 'justify'
}, -
23 Aug 2011 5:56 AM
- Replies
- 6
- Views
- 1,191
I just spent a lot of time debugging my app because it wouldn't redirect to one of my custom routes. In the end I found that a simple trailing slash at the end of the url broke the whole route...
-
22 Aug 2011 2:13 AM
- Replies
- 4
- Views
- 1,545
Ext.Msg.on('show', function () {
Ext.Msg.doComponentLayout();
});
is how I handle this issue for now
Results 1 to 25 of 78
