PDA

View Full Version : Documentation Content Bugs



nick_p
11 Oct 2011, 11:21 AM
Please report any documentation content bugs for Sencha Touch 2 here.

kinetifex
11 Oct 2011, 1:58 PM
All the links to examples 404 on the data package guide:
http://docs.sencha.com/touch/2-0/#!/guide/data (http://docs.sencha.com/touch/2-0/#!/guide/data)

rakagod
11 Oct 2011, 11:39 PM
Congratulations.
I am very impressed by the new documentation tools.

Since I'm new, I was running through the "Getting started example" and pressed on the link for " tabBarPosition (http://docs.sencha.com/touch/2-0/#!/api/Ext.tab.Panel-cfg-tabBarPosition) " and it correctly took me to its definition.
It says that its a string and it defaults to null, however I cannot find the list of possible values for it.
I know I can use "top" and "bottom" but I should be able to find the allowed values of any such parameter.

Am I missing something obvious?

rakagod
12 Oct 2011, 12:35 AM
When I search for xType in the documentation I get
- getXTypes
- isXType
but nothing defining xType.

I did notice that next to some headings it gives the xType.
ex. Ext.Component xtype: component
but no clear definition.

edspencer
12 Oct 2011, 12:41 AM
Thanks, we'll fix those up. As you guessed, the valid positions are 'top' and 'bottom'. As for xtype, it's a convenient way to create components. Both of these are equivalent:



Ext.create('Ext.Panel', {
items: [
Ext.create('Ext.Panel', {
html: 'inner panel'
})
]
});




​Ext.create('Ext.Panel', {
items: [
{
xtype: 'panel',
html: 'inner panel'
}
]
});

rakagod
12 Oct 2011, 11:02 AM
The iPad2 has a problem properly displaying the new documentation.
The text in the right hand panel goes right up to the right edge of the display and drops letters.
It does this in both the portrait and landscape mode.

rakagod
12 Oct 2011, 11:52 AM
The code sample in "Getting Started with Sencha Touch 2" is not display compatible with
iPad2 Landscape mode,
iPhone4 landscape mode,
iPhone4 portrait mode
or desktop browser (i.e. landscape).

Specifically the 6th coding example has:
'<img width="65%" src="http://staging.sencha.com/img/sencha.png" />',
It is the width="65%" parameter that causes the problem.

It show up immediately in my Chrome browser as too big an image.
Testing on the iPad2 shows the same problem in landscape mode.
Testing on my iPhone4 shows the same problem in landscape mode.
Testing on my iPhone4 in portrait mode showed it loosing the bottom of the panel.

It appears to only work with the iPad portrait mode.

TommyMaintz
12 Oct 2011, 11:57 AM
The current API docs are targeted to desktop browsers as that is the usual development environment and thus the most often needed. We are looking at creating a mobile friendly version of the API docs though.

rakagod
12 Oct 2011, 12:14 PM
I really like the Preview button in the documentation.

I am still on the getting started sample code and there is no indication that the display in a real iPhone will NOT be the same as in the Preview, until I do an "Add to home screen" for the web page.
Until then a real iPhone will be showing the Safari navigation toolbar on the bottom.
(I don't know what happens on an Android phone)

For us beginners, I would suggest a note to expect the difference and maybe a link to a deployment article explaining how to solve the problem.
Even-though, I am still on the getting started sample code, I am excited to see it on my iPhone and to see it exactly the same. Hence the need for the heads up for a beginner.

rakagod
12 Oct 2011, 12:57 PM
How to use classes in Sencha Touch 2Dependencies and Dynamic LoadingMost of the time, classes depend on another classes.

- " ... classes depend on another class. ..."
- or " ... classes depend on other classes. ..."

rakagod
12 Oct 2011, 1:04 PM
How to use classes in Sencha Touch 2
Dependencies and Dynamic Loading

"... we depend on Animal being present to be able to define Animal. ..."
Should be:
"... we depend on Animal being present to be able to define Human. ..."

rakagod
12 Oct 2011, 1:28 PM
How to use classes in Sencha Touch 2
Dependencies and Dynamic Loading

" ... See part 2 of the Getting Started guide for details on how to use the JSBuilder..."
Don't know where to find this.
A link would be more useful.

rakagod
12 Oct 2011, 2:07 PM
How to use classes in Sencha Touch 2
Naming Conventions

>>The top-level namespaces and the actual class names should be in CamelCased, everything else should be all lower-cased. For example:

MyCompany.form.action.AutoLoad <<For Camel Case, Wiki states that "... first letter either upper or lower case...".
From the examples I can figure out that:
- a class name uses upper case for the first letter;
- a variable name uses lower case for the first letter.

That information should be stated in the text.
Also the beginning text above; remove either the "in" or the "d".

rakagod
12 Oct 2011, 3:00 PM
How to use classes in Sencha Touch 2
1.2) The New Way

"... get in the habit of always using Ext.create since it allows you to take advantage of dynamic loading. For more info on dynamic loading see the Getting Started guide (http://docs.sencha.com/touch/2-0/#/guide/getting_started)..."

There is no info on dynamic loading on the linked page "Getting Started guide" but there is some in this article.

rakagod
13 Oct 2011, 7:46 AM
In the Panel component documentation I noticed that there is no description for the elements:
left
right
flex

rakagod
13 Oct 2011, 7:55 AM
The documentation below talks about creating a Text field but a panel creation is shown.

Using Components in Sencha Touch 2
Instantiating ComponentsComponents are created the same way as all other classes in Sencha Touch - using Ext.create. Here's how we can create a Text field:

var panel = Ext.create('Ext.Panel', { html: 'This is my panel'});

NickT
13 Oct 2011, 7:55 AM
there is a reference to 'fullscren' instead of 'fullscreen'

NickT
13 Oct 2011, 8:03 AM
There is no documentation on

Ext.Viewport

rakagod
13 Oct 2011, 8:15 AM
Using Components in Sencha Touch 2
Showing and Hiding Components

It explains showing and hiding the main panel.
At this point, I have 2 questions:
1- how do you do it for the child panel?
2- will hiding a child panel affect the layout i.e flex ?

rakagod
13 Oct 2011, 8:46 AM
I was looking up the "Listeners" config element and was not able to find a list of events in the documentation.
I guess that there are events generated by js, DOM and Sencha Touch.
If you don't produce a list is it possible to provide links those who do?

rakagod
13 Oct 2011, 9:04 AM
Please ignore the previous request about events.

I found this:
Each Component has a full list of the events they fire inside their class docs.

rakagod
13 Oct 2011, 10:22 AM
Ext.data.reader.Reader
I cannot find a property of "type" as used in the sample code of that page.

reader: { type: 'json', root: 'users' }I did find the statement "a valid Reader type name (e.g. 'json', 'xml')" on the Ext.data.proxy.Proxy page that suggests that "types" are the "sub classes" given on the Ext.data.reader.Reader page.

Is this correct for "Reader" class?
and is it the same for any other classes with "sub classes"?

rakagod
13 Oct 2011, 10:29 AM
The link in the text: "For a live demo please see the Simple Store (http://docs.sencha.com/touch/2-0/guides/data/examples/simple_store/index.html) example." gives a 404 error.
Found in:
Using the data package in Sencha Touch 2
Models and Stores

The link text "Inline Data example (http://docs.sencha.com/touch/2-0/guides/data/examples/inline_data/index.html)" also gives a 404 error.
Found in:
Using the data package in Sencha Touch 2
Inline data
Again for:
see the Sorting Grouping Filtering Store (http://docs.sencha.com/touch/2-0/guides/data/examples/sorting_grouping_filtering_store/index.html) example.
Example of a Model that uses a Proxy directly
. (http://docs.sencha.com/touch/2-0/guides/data/examples/model_with_proxy/index.html).. you can check the rest on the page.

rakagod
13 Oct 2011, 11:03 AM
Is it possible that the code should be using "posts" rather than "Post" here?
hasMany: 'Post' // shorthand for { model: 'Post', name: 'posts' }:
Should it not read as ?:
hasMany: 'posts';

Found in:
Using the data package in Sencha Touch 2
Associations

Sakes
13 Oct 2011, 12:56 PM
The first example is broken. When you type bob.speak() you expect the result to alert 'Bob'. Instead it alerts null. It appears that the example's constructer never calls this.initConfig();

http://docs.sencha.com/touch/2-0/#!/guide/class_system

robcolburn
14 Oct 2011, 1:43 PM
http://docs.sencha.com/touch/2-0/#!/guide/native_packaging

"This is an optional configuration. You can specify a specific Certificate Alias to use for signing your application."

It's unclear what to specify for the Certificate Alias. A good solution would be to show an example, and provide a separate page with screen-shots for getting/setting the Certificate Alias.

tobiu
15 Oct 2011, 9:04 AM
Ext.define('MyApp.controller.Users', {
extend: 'Ext.app.Controller',

refs: [
{
ref: 'list',
selector: 'grid'
}
],

init: function() {
this.control({
'button': {
click: this.refreshGrid
tap: this.refreshGrid
}
});
},

refreshGrid: function() {
this.getList().store.load();
}
});

iaBrad
17 Oct 2011, 3:16 PM
I love the improvements to the docs, but I also like to read them on my iPad. It makes a handy second (or third) display while developing. If there were a PDF option (which would also allow offline viewing), that would be handy.

slchorne
19 Oct 2011, 7:26 AM
The 'getting started guide' uses an example where the panel config has the 'fullscreen' item set.

but the docs for 'ext.panel' say that this is depricated and to use Ext.Viewport instead.

slchorne
19 Oct 2011, 8:02 AM
The kitchen sink source demos don't show the full app. They don't have the 'Ext.application' declaration so it is hard to see how the individual components are registered with the app

slchorne
19 Oct 2011, 2:33 PM
The layout controls 'dockedItems' and 'dock' have been replaced with a single config item 'docked'. But none of the examples are using this config. They are all still using 'dock'.

E.g. : http://docs.sencha.com/touch/2-0/#!/guide/layouts (http://docs.sencha.com/touch/2-0/#%21/guide/layouts)

edspencer
19 Oct 2011, 8:52 PM
@slchorne it's a mistake, we're not changing it to 'docked'. We'll revert the docs back to 'dock' shortly. Sorry for the confusion, our policy is not to make API changes unless they're absolutely necessary (so this obviously doesn't qualify)

Marc-QNX
28 Oct 2011, 7:16 AM
If you leave the DataView (http://docs.sencha.com/touch/2-0/#!/api/Ext.dataview.DataView) page open for more than a few minutes, it crashes Chrome on OSX. I seem to be consistently on this page whenever it crashes.

Tried clearing cache, no change.

tomlobato
28 Oct 2011, 3:01 PM
To get the example working (6/nov/2011)...

Ext.define('Animal',{
config:{ name:null},
speak:function(){ alert('grunt');}
});

just after config: {name: null}, add:

constructor: function(config) {
this.initConfig(config);
return this;
},

so, Bob learns how to speak.


The first example is broken. When you type bob.speak() you expect the result to alert 'Bob'. Instead it alerts null. It appears that the example's constructer never calls this.initConfig();

http://docs.sencha.com/touch/2-0/#!/guide/class_system

xanaguy
30 Oct 2011, 8:51 PM
This is at least a doc bug and perhaps a code bug.

The "Using Lists" guide http://docs.sencha.com/touch/2-0/#!/guide/list is clearly unfinished. It ends almost mid-sentence. The last code snippet doesn't compile:


alert('tapped on '+)
But the part I'm most interested in is the event which I should be listening on to know when a list item is selected. This example says the `select` event should work. But the reference (http://docs.sencha.com/touch/2-0/#!/api/Ext.dataview.List-event-activeitemchange) doc says `activeitemchange`.

In my code, neither event is firing. :( Which is the correct event?

vudup
10 Nov 2011, 8:43 PM
The docs for Ext.dataview.List are missing at least one event. itemtap is a really useful event which is not listed. What other events are missing?

pdm
15 Nov 2011, 6:28 AM
getting-started.html is shipped with the Sencha Touch 2 preview download but has old content. The new Getting Started content (http://docs.sencha.com/touch/2-0/#!/guide/getting_started) is different (and actually works)

edspencer
16 Nov 2011, 12:29 PM
getting-started.html is shipped with the Sencha Touch 2 preview download but has old content. The new Getting Started content (http://docs.sencha.com/touch/2-0/#!/guide/getting_started) is different (and actually works)

Thanks, we fixed this in last week's PR2 release

Surykat
18 Nov 2011, 5:06 AM
In Ext.field.Number in event CHANGE there are still parameters: oldValue, newValue - which are not working in new relase.

I debugged my application and found that in event parameters, second parameter (lets call it 'val') have properties equal to old parameters in properties:

oldValue = val._startValue;
newVal = val._value;

It would be a standard now?

AussieInSeattle
1 Dec 2011, 2:48 AM
ComponentView documentation seems to be a copy/paste from DataView and incorrect?

MattUCG
2 Dec 2011, 6:33 AM
Note the low temperatures:

29760

MattUCG
2 Dec 2011, 6:41 AM
From the initial screen, clicking the 'Kiva' button temporarily shows a loading div, but the z-index seems to be off or something:

29761

MattUCG
2 Dec 2011, 6:46 AM
The last day's weather has a strange vertical offset:

29762

rdougan
3 Dec 2011, 3:28 PM
Thanks for all the reports. I've added tickets for all of them, and fixed any tiny ones.

bweiler
5 Dec 2011, 11:27 AM
Ext.dataview.List

The Ext.dataview.List code example contains the following depreciated class.

Ext.regModel('Contact', {
fields: ['firstName', 'lastName']
});

The following model definition should be used instead.

Ext.define('Contact', {
extend: 'Ext.data.Model',
fields: ['firstName', 'lastName']
});

bweiler
6 Dec 2011, 4:04 PM
Ext.app.Controller API description contains the following text:

"For an example of real-world usage of Controllers see the Feed Viewer example in the examples/app/feed-viewer folder in the SDK download."

The example doesn't exist.

riahut.com
9 Dec 2011, 10:01 AM
Sencha 2 Documentation page doesn't load at all, stuck on gears.

edspencer
9 Dec 2011, 12:58 PM
Sencha 2 Documentation page doesn't load at all, stuck on gears.

Works for me - can you try again? Which browser are you using?

anj
13 Dec 2011, 3:54 AM
new Ext.field.Spinner({
minValue: 0,
maxValue: 100,
incrementValue: 2,
cycle: true
});

should be



new Ext.field.Spinner({
minValue: 0,
maxValue: 100,
increment: 2,
cycle: true
});

bweiler
13 Dec 2011, 10:12 AM
PR3 changed the position of the tab.Panel icons to be left aligned on the tabPanel. The documentation recommends using tabBarPosition, but there doesn't appear to be an additional property to set the icon positioning. Icon positioning is very common and the correct 2.x approach should be documented in the Ext.tab.Panel documentation.

From a previous Sencha forum manager post, the correct approach is the following (1.x approach):

This works:


tabBar: {
docked: 'bottom',
layout: {
pack : 'center'
}
},


However, the 2.0 docs lead you to believe that this is the correct approach:


// No guidance on how to center tab icons in tab panel. Only tabBar positioning.
tabBarPosition: 'bottom',

rancid
27 Dec 2011, 6:14 AM
I've found in this post (http://www.sencha.com/forum/showthread.php?167094-TypeError-adding-constructor-undefined-is-not-an-object-(evaluating-element.show-)) that initConfig don't works in constructors, and next I've found Mitchell's code that works: "this.callParent([config]);" is the replaced method for: "this.initConfig(config);"

I think it's important to modify documentation on "How to use classes in Sencha Touch 2" on "The Class System" guide

jk171505
7 Jan 2012, 12:34 PM
I'm curious does anyone tested this examples?
I suppose to be able to learn something from it...

How can people learn something from this if the examples are broken?????

jk171505
7 Jan 2012, 1:38 PM
The example describing class system (below) should contain the 'if' statement, otherwise it just doesn't work:


Ext.define('Human', {
extend: 'Animal',

applyName: function(newName, oldName) {
return confirm('Are you sure you want to change name to '+ newName +'?');
}
});

hengly
8 Jan 2012, 7:34 PM
Hi guys,
The test case run on chrome and safari, however the pinheader UI feel confused..
If the grouped list view still have bugs?
For the ST 1.0 version, the demo on https://github.com/nelstrom/Sencha-Touch-list-view-demo works fine.
Thank you very much!~o)


Ext.define('Contact', {
extend: 'Ext.data.Model',
fields: ['firstName', 'lastName']
});


Ext.application({
name: "ListDemo",


launch: function(){
var store = Ext.create('Ext.data.JsonStore', {
model: 'Contact',
sorters: 'lastName',


getGroupString: function(record) {
return record.get('lastName')[0];
},
data: [
{firstName: 'Tommy', lastName: 'Maintz'},
{firstName: 'Rob', lastName: 'Dougan'},
{firstName: 'Ed', lastName: 'Spencer'},
{firstName: 'Jamie', lastName: 'Avins'},
{firstName: 'Aaron', lastName: 'Conran'},
{firstName: 'Dave', lastName: 'Kaneda'},
{firstName: 'Jacky', lastName: 'Nguyen'},
{firstName: 'Abraham', lastName: 'Elias'},
{firstName: 'Jay', lastName: 'Robinson'},
{firstName: 'Nigel', lastName: 'White'},
{firstName: 'Don', lastName: 'Griffin'},
{firstName: 'Nico', lastName: 'Ferrero'},
{firstName: 'Nicolas', lastName: 'Belmonte'},
{firstName: 'Jay', lastName: 'Robinson'},
{firstName: 'Nigel', lastName: 'White'},
{firstName: 'Don', lastName: 'Griffin'},
{firstName: 'Nico', lastName: 'Ferrero'},
{firstName: 'Nicolas', lastName: 'Belmonte'},
{firstName: 'Jason', lastName: 'Johnston'}
]
});

var listPanel = Ext.create('Ext.List', {
store: store,
allowDeselect: false,
itemTpl: '<div class="contact">{firstName} {lastName}</div>',
onItemDisclosure: function(record, btn, index) {
console.log('in');
},
grouped: true
//indexBar: true
});

Ext.Viewport.add(listPanel);


}
});

hengly
9 Jan 2012, 12:18 AM
oh,The problem is caused by using the resources/css-debug/sencha-touch.css instead of the resources/css/sencha-touch.css.Not a bug.

Sowri
14 Jan 2012, 3:22 PM
Hi ,


I was trying to get to the offsetBoundary of scroller and ended up here at http://docs.sencha.com/touch/2-0/#!/api/Ext.util.SizeMonitor

Thanks,

renku
19 Jan 2012, 7:28 AM
Thanks to all for reporting. Most of the issues have been fixed, others have been filed as bugs.

benben
25 Jan 2012, 8:38 AM
namespace config is not mentionned either in the Using Device Profiles Guide nor in the Ext.app.Profile entry, and is the source of a bug (path is set to (null) if you don't specifiy it).

bweiler
25 Jan 2012, 10:36 AM
Ext.XTemplate Documentation Bug PRx:
The following example in the XTemplate documentation contains an error.

More advanced conditionals are also supported:

var tpl = new Ext.XTemplate (http://docs.sencha.com/touch/2-0/#!/api/Ext.XTemplate)( '<p>Name: {name}</p>', '<p>Kids: ', '<tpl for="kids">', '<p>{name} is a ', '<tpl if="age &gt;= 13">', '<p>teenager</p>', '<tpl elseif="age &gt;= 2">', '<p>kid</p>', '<tpl else">', '<p>baby</p>', '</tpl>', '</tpl></p>');

benben
25 Jan 2012, 2:31 PM
Ext.data.association.HasMany code sample uses a "model" config property, but the class documentation only mentions an "associatedModel". Not sure which one is correct, i'm still struggling with that feature.

benben
26 Jan 2012, 2:47 PM
Documentation for updateRecord in Ext.form.Panel has disappeared, but it is still in the code and seems to be working fine

bweiler
27 Jan 2012, 7:19 PM
The "Intro to Applications with Sencha Touch 2" (http://docs.sencha.com/touch/2-0/#!/guide/apps_intro) example recommends putting the views array in the application definition and not the controller definition and the twitter example puts the views and stores arrays in the controller definition.

I tried putting the views array in the application definition and Sencha Touch threw errors and the get[ViewName]View() methods no longer worked, so it looks like the views and stores belong in the controller.

The stores and views arrays should also be mentioned in the Controllers section (http://docs.sencha.com/touch/2-0/#!/guide/controllers) and the Ext.app.Controller documentation.


Intro to Applications with Sencha Touch 2:


Ext.application({
name: 'MyApp',
models: ['User', 'Product', 'Order'],
views: ['OrderList', 'OrderDetail', 'Main'],
controllers: ['Orders'],


launch: function() {
Ext.create('MyApp.view.Main');
}
});


Twitter Example:


Ext.define('Twitter.controller.Search', {
extend: 'Ext.app.Controller',


config: {
profile: Ext.os.deviceType.toLowerCase()
},


views : [
'Main',
'SearchBar',
'SearchList',
'TweetList'
],


stores: ['Searches'],
...

edspencer
28 Jan 2012, 12:45 PM
Those generated Controller functions are no longer present in Sencha Touch 2, by design. We're going to upgrade the Twitter example shortly, we'd initially left it like it was to test out some compatibility issues - instead of shipping like that though we've forked the old style into a private folder so we can continue to test while demonstrating best practice in the actual examples.

The 1.x-style store, model and view generated functions are no longer present in 2.x, which is why they don't appear in the guides or API docs. I'll update the migration guide for B1 based on this and other feedback to make it clearer what has changed and why.

Anticom
29 Jan 2012, 1:13 PM
I don't know, wether this was reported already, but on bar charts when you compare two values with each other and change view mode (stacked on/off) the arrow indicating which values you compared neither dissapears nor updates its position.

rhomb
30 Jan 2012, 6:06 AM
http://docs.sencha.com/touch/2-0/#!/api/Ext.Msg
In the API page the example states that this works:


Ext.Msg.prompt('Name', 'Please enter your name:', function(text) { // process text value and close...
});

But it has to be:

Ext.Msg.prompt('Name', 'Please enter your name:', function(button, text) { // process text value and close...
});

First argument is the button value, second the entered Text.

paul_todd
30 Jan 2012, 4:24 PM
This method is undocumented, is this intentional or is it not yet documented?
If not what is the approved way to move values from a form to the record instance?

bweiler
30 Jan 2012, 4:53 PM
I may be the only one struggling with this, but I'm having a hard time understanding how to reference the Main view instance created in the following example from within the controller.

App definition:


Ext.application({
name: 'MyApp',
models: ['User', 'Product', 'Order'],
views: ['OrderList', 'OrderDetail', 'Main'],
controllers: ['Orders'],


launch: function() {
Ext.create('MyApp.view.Main');
}
});


The following controller code returns the class, but not the instance:


var main = MyApp.view.Main;


The following controller code works, but ignores the Ext.create('MyApp.view.Main') in the app definition:




refs: {
main: {
selector: 'mainview',
xtype: 'mainview',
autoCreate: true
}
}
...
var main = this.getMain();


Will you please explain how the Main instance defined in the app is accessed from within the controller and include some additional text on this in the Intro to Applications document.

Thanks

paul_todd
31 Jan 2012, 5:42 AM
Ext.data.Model.getData is not documented

paul_todd
31 Jan 2012, 8:53 AM
in http://docs.sencha.com/touch/2-0/#!/guide/forms


var form = Ext.create (http://docs.sencha.com/touch/2-0/#!/guide/forms)('Ext.form.Panel (http://docs.sencha.com/touch/2-0/#!/api/Ext.form.Panel)', { listeners: { '> field': { change: function(field, newValue, oldValue) { ed.set(field.getName(), newValue); } } }, items: //as before});
I was not able to get multiple listeners to work with the field example as above but if I used 'textfield' it did work.

I also read the example above as changing a character of text would fire the event whereas the event is fired if the user shifts focus from the control. To capture any character of text changes this requires handling the 'keyup' event

edspencer
31 Jan 2012, 11:23 AM
I've added the getData docs back into Model

dugbot
1 Feb 2012, 8:10 AM
The DataView documentation does not mention the method "SetItemTpl" which is needed for dynamically updating a ItemTpl config value.

Jamie Avins
1 Feb 2012, 9:15 AM
All config options have setter methods, but we'll try to make it clearer.

geekflyer
1 Feb 2012, 3:37 PM
in the xtype: selectfield the function getRecord() is not documented.
Instead there is documented a function called record() , however without any description. The truth is that the function record() does not exist.

rdougan
1 Feb 2012, 3:45 PM
@geekflyer

Thanks, I'll add docs for getRecord.

As for a method called record(), there is no such thing. The docs note is as a private configuration option, not a method. It is used internally in that class and should never be used.

DeShadow
3 Feb 2012, 12:53 AM
In documentation Ext.data.reader.Xml has property "root", but now it's depricated. It's replaced by "rootProperty". Documentation hasn't anything about it property.

edspencer
3 Feb 2012, 5:33 AM
In documentation Ext.data.reader.Xml has property "root", but now it's depricated. It's replaced by "rootProperty". Documentation hasn't anything about it property.\

Thanks, I've fixed this locally so it'll show up properly in the next release

tinyfactory
3 Feb 2012, 4:55 PM
http://docs.sencha.com/touch/2-0/#!/api/Ext.scroll.Scroller




//lets assume container is a container you have
//created which is scrollable
container.getScrollable.getScroller().setFps(10);


getScrollable should be getScrollable()

geekflyer
3 Feb 2012, 6:09 PM
I'm not sure whether this is really a content bug. Maybe i don't understand it completely.
Look at his one http://docs.sencha.com/touch/2-0/#!/api/Ext.data.association.Association
I (http://docs.sencha.com/touch/2-0/#!/api/Ext.data.association.Association)n the examples (also in the model examples) is often written about a config for an association which is called 'model'.
However in the code of it (also in it's it subclasses) and in the config docs i only found the config associatedModel and ownerModel.

cyberwombat
4 Feb 2012, 8:26 AM
The docs for GeoLocation http://docs.sencha.com/touch/2-0/#!/api/Ext.util.GeoLocation state that one can access read only properties such as latitude etc.. but this doesn't work - you must use getters. Not sure if docs are wrong or code is wrong.

Example from docs for example doesn't work unless you change 5th line to a getter. I assume the other properties have same issue



var geo = new Ext.util.GeoLocation({
autoUpdate: false,
listeners: {
locationupdate: function(geo) {
alert('New latitude: ' + geo.latitude); //<!----- this should be geo.getLatitude()
},
locationerror: function(geo, bTimeout, bPermissionDenied, bLocationUnavailable, message) {
if(bTimeout){
alert('Timeout occurred.');
} else {
alert('Error occurred.');
}
}
}
});
geo.updateLocation();

cyberwombat
4 Feb 2012, 8:48 AM
This post http://www.sencha.com/learn/upgrading-to-sencha-touch-2-pr2/ has an example about loading a mask bound to a store but the docs here http://docs.sencha.com/touch/2-0/#!/api/Ext.LoadMask-cfg-store state that one can no longer bind a store to this class as it's deprecated



new Ext.LoadMask(Ext.getBody(), {
store: 'businesses',
msg: ''
});

qooleot
5 Feb 2012, 8:03 AM
The docs for Ext.data.Store show a model for the example store defined as:




// Set up a model (http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Model) to use in our Store
Ext.define (http://docs.sencha.com/touch/2-0/#!/api/Ext-method-define)('User',{
extend:'Ext.data.Model (http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Model)',
fields:[
{name:'firstName', type:'string'},{name:'lastName', type:'string'},{name:'age', type:'int'},{name:'eyeColor', type:'string'}
]
});


but it actually needs to be like the store in the forms example:

http://docs.sencha.com/touch/2-0/touch/examples/forms/index.html

i (http://docs.sencha.com/touch/2-0/touch/examples/forms/index.html)n this format:



Ext.define('Ranks', {
extend: 'Ext.data.Model',
config: {
fields: [
{name: 'rank', type: 'string'},
{name: 'title', type: 'string'}
]
}
});

The difference is the 'config' object encapsulates the fields. If you don't do that, then a selectfield does not display the valueField and displayField fields when specified. I'm thinking the docs need an update, but maybe this is actually just a bug? If so, let me know and I can throw this over in the bugs sub-forum.

Thanks!

edspencer
5 Feb 2012, 9:00 AM
Bug in the docs, I'll fix that right now. Thanks :)

SunboX
5 Feb 2012, 10:28 AM
The docs for GeoLocation http://docs.sencha.com/touch/2-0/#!/api/Ext.util.GeoLocation state that one can access read only properties such as latitude etc.. but this doesn't work - you must use getters. Not sure if docs are wrong or code is wrong.

Example from docs for example doesn't work unless you change 5th line to a getter. I assume the other properties have same issue



var geo = new Ext.util.GeoLocation({
autoUpdate: false,
listeners: {
locationupdate: function(geo) {
alert('New latitude: ' + geo.latitude); //<!----- this should be geo.getLatitude()
},
locationerror: function(geo, bTimeout, bPermissionDenied, bLocationUnavailable, message) {
if(bTimeout){
alert('Timeout occurred.');
} else {
alert('Error occurred.');
}
}
}
});
geo.updateLocation();


Seem´s the docs are wrong ... :(

edspencer
5 Feb 2012, 10:43 AM
Yes they are, I've fixed that one too. Will be correct next time we refresh the live docs

nigelpegg
5 Feb 2012, 5:03 PM
In most event listings (for example, Carousel's activeitemchange), the docs describe the event as though they're only fired when triggered programmatically :

"Fires when the activeItem configuration is changed by setActiveItem".

99% of the time, you'd be listening for this event when *the user* interacts with the carousel, not when you (as coder) invoke the setActiveItem() method to "change a configuration". I found the description confusing, even if the answer here is "well, when the user interacts with the carousel, internally the framework calls setActiveItem()" - I as coder don't know that detail.

8alery
8 Feb 2012, 2:46 AM
In my project I have profiles and routes like in example 'Kitchensink'. In profile definitions you must:
1) Define namespace;
2) Define name the same as namespace (case matters) like this:

Ext.define('app.profile.Phone', {
extend: 'Ext.app.Profile',
config: {
name: 'phone',
namespace:'phone', .....
I wrote "name: 'Phone'" like it was in documentation and with new Sencha Touch 2 Beta1 my code stopped work (it worked fine with older version), then I used 'redirectTo', it couldn't find appropriate controller. Thanks god I checked 'Kitchensink' code. I hope my case will be helpful for some.

edspencer
8 Feb 2012, 11:08 AM
In my project I have profiles and routes like in example 'Kitchensink'. In profile definitions you must:
1) Define namespace;
2) Define name the same as namespace (case matters) like this:

Ext.define('app.profile.Phone', {
extend: 'Ext.app.Profile',
config: {
name: 'phone',
namespace:'phone', .....
I wrote "name: 'Phone'" like it was in documentation and with new Sencha Touch 2 Beta1 my code stopped work (it worked fine with older version), then I used 'redirectTo', it couldn't find appropriate controller. Thanks god I checked 'Kitchensink' code. I hope my case will be helpful for some.

This was actually down to a bug in the framework, it's fixed for b2

tinyfactory
9 Feb 2012, 2:19 PM
http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Store

The data Store docs incorrectly use the property "root" on the JSON reader example. "root" is deprecated, and is now "rootProperty" This threw me off for about 30 minutes:



var myStore =Ext.create (http://docs.sencha.com/touch/2-0/#!/api/Ext-method-create)('Ext.data.Store (http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Store)',{
model:'User',
proxy:{
type:'ajax',
url :'/users.json',
reader:{
type:'json',
root:'users' // this should be rootProperty: 'users'
}
}, autoLoad:true});

edspencer
9 Feb 2012, 2:22 PM
@tinyfactory yea I fixed that one last night, just missed the cutoff for b2 unfortunately. Will be right when we next update the docs

nigelpegg
9 Feb 2012, 5:31 PM
The docs for any listeners config will point you towards the addListener method on Observable, mentioning :
"This should be a valid listeners config object as specified in the addListener example". The addListener example never makes it clear how you'd configure a listeners config object for use here.

More to the point, *all examples* in the addListener section ignore both addListener and listeners, instead opting for the mysterious "on()" method, which exists nowhere else in the docs.

Something as fundamental as event listening *really* needs clearer docs.

nigel

nigelpegg
10 Feb 2012, 10:32 AM
The "class system" docs never make it clear how to extend actual UI components. callParent() seems pretty indispensable.

nigelpegg
10 Feb 2012, 10:34 AM
Could we add Jacky's post on event listening on elements somewhere? Being able to listen to a tap or swipe on a component seems useful. A whole section explaining components and elements seems warranted, since devs will find themselves bouncing back and forth between them.

http://www.sencha.com/forum/showthread.php?176239-HOWTO-Adding-Event-Listeners-to-Component-Elements

nigelpegg
10 Feb 2012, 10:35 AM
Component. getWidth() returns null unless you've explicitly set the width. If you're looking for the calculated width of a component that's been dynamically laid out, you need to use component.getEl().getWidth().

nigelpegg
10 Feb 2012, 10:36 AM
the fullscreen property could bear additional explanation with a warning as to use. By its name, it seems like something you'd use all the time. In practice, you don't really want to.

What's more, nearly every example in the docs include fullscreen, so it's easy to see why folks end up over-using it and getting stuck.

nigelpegg
10 Feb 2012, 10:38 AM
A (written) section on theming or styling components would be really useful.

rolfdaddy
11 Feb 2012, 8:30 AM
At http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Store in the example at the top it says:



var myStore = Ext.create('Ext.data.Store', {
model: 'User',
proxy: {
type: 'ajax',
url : '/users.json',
reader: {
type: 'json',
root: 'users'
}
},
autoLoad: true
});


I think that should be "rootProperty", correct?

nigelpegg
11 Feb 2012, 8:38 AM
The component.painted event warns you (that's a good thing) not to over-use it; instead it tells you to use initialize. Initialize isn't in the docs anywhere.

nigelpegg
11 Feb 2012, 3:22 PM
As of B2, looks as though the "getEl()" method has been removed in favor of directly accessing the "element" property (yay!). getEl() has been properly removed from the docs, but, comically, the "element" property was never added.

bweiler
11 Feb 2012, 5:28 PM
The getExtraParams method is missing from the Ext.data.proxy.Ajax documentation and probably the documentation for the other proxies.

passion4code
15 Feb 2012, 3:26 PM
Data Reader API doc - first basic example

Note the config property for "rootProperty" is misspelled. Not a big deal, just thought you should know.

http://docs.sencha.com/touch/2-0/#!/api/Ext.data.reader.Reader

JeanPlouin
16 Feb 2012, 5:53 AM
The launch and init configs in a controller don't work if you define them in the config object as induced in the docs: you have to define them outside of the config object to get them running as described in the doc.

edspencer
16 Feb 2012, 9:36 AM
The launch and init configs in a controller don't work if you define them in the config object as induced in the docs: you have to define them outside of the config object to get them running as described in the doc.

Where in the docs does it show these inside the config object?

JeanPlouin
16 Feb 2012, 11:59 AM
maybe i got confused: i saw it in the live ST2 doc
http://docs.sencha.com/touch/2-0/#!/api/Ext.app.Controller --> configs

as i also found refs and control in the same section, which are to be set inside the config object it confused me

edspencer
16 Feb 2012, 12:08 PM
Ah you're right, I'll get that fixed. Thanks :)

fhellwig
16 Feb 2012, 12:40 PM
Thank you. I too was confused by this and thought that the init() function was now a config item rather than being at the top level of the class (same as the constructor). I think the same documentation issue applies to the launch() function as well.

edspencer
16 Feb 2012, 12:45 PM
Yes, it did, they're both fixed now

aoathout
21 Feb 2012, 4:45 PM
First off I hope that the docs on the sencha site are for the next release and this isn't a bug, but incase it is....:

http://docs.sencha.com/touch/2-0/#!/api/Ext.data.Store-method-isLoaded

In B3 there isn't an isLoaded() off the store. Hopefully this is new docs that have got out before the next B (or maybe RC) is released? Can somebody from the dev team reply and let us know?

Thanks.

fhellwig
21 Feb 2012, 7:47 PM
Along the lines of my previous post regarding launch and init, the singleton, et al. is another item that is listed under the "Configs" category yet must be specified outside of the config object. On a broader level, does this warrant an additional drop-down on the documentation selection bar? Not sure what it should be called - Properties is already used; "Settings" perhaps?

For developers first faced with the rich Sencha API, maybe a small "help" link at the top would be welcomed that explains the differences between Configs, Properties, and Methods.

Thanks

gunston2084
22 Feb 2012, 2:40 PM
+1 for documentation being very slow and unusable on iPad 2.

rdougan
22 Feb 2012, 10:36 PM
+1 for documentation being very slow and unusable on iPad 2.

We have plans to fix this in the future. But right now, because the app is developed using Ext JS - iPad 2 is simply not supported.

JavascriptParrot
22 Feb 2012, 10:46 PM
Touch 2 docs don't work at the moment?



Failed to load resource: the server responded with a status of 404 (Not Found)
http://docs.sencha.com/touch/2-0/app/Application.js?_dc=1329979477424
Failed to load resource: the server responded with a status of 404 (Not Found)



Thanks

renku
23 Feb 2012, 12:51 AM
Try again. Should be OK now.

JavascriptParrot
23 Feb 2012, 3:27 AM
Thanks it works, but got the following message in console.



OPTIONS http://projects.sencha.com/auth/session?_dc=1329996386348&sid= 503 (Service Unavailable)

XMLHttpRequest cannot load http://projects.sencha.com/auth/session?_dc=1329996386348&sid=. Origin http://docs.sencha.com is not allowed by Access-Control-Allow-Origin.

room9
23 Feb 2012, 4:16 PM
"Sencha Touch 2 Native Packaging for Android" switches between webAppPath and inputPath in the configs.

kret
24 Feb 2012, 1:18 PM
Sencha touch 2.0 docs still doesn't work :(.

I am getting in console 404 not found:
(http://docs.sencha.com/touch/2-0/)http://docs.sencha.com/touch/2-0/app/view/Viewport.js?_dc=1330118160602
(http://docs.sencha.com/touch/2-0/app/view/Viewport.js?_dc=1330118160602)http://docs.sencha.com/touch/2-0/app/Application.js?_dc=1330118160603

nick_p
24 Feb 2012, 2:14 PM
Hi kret, please try clearing your cache and let me know if it's still an issue.

Thanks

kret
24 Feb 2012, 10:16 PM
Yup. It is working now :).

Thanks.

Jani Hur
28 Feb 2012, 12:31 PM
The current API docs are targeted to desktop browsers as that is the usual development environment and thus the most often needed. We are looking at creating a mobile friendly version of the API docs though.

Please consider this seriously. Currently I'm using a tablet for most of my screen reading time and I found it shocking Sencha Touch documentation doesn't render correctly on an iPad.

jojojose
29 Feb 2012, 8:20 PM
Page Info: Using Nested List- Loading Remote Data

Missing Semicolon - after defaultRootProperty


var treeStore = Ext.create (http://localhost/sencha2/docs/#!/api/Ext-method-create)('Ext.data.TreeStore (http://localhost/sencha2/docs/#!/api/Ext.data.TreeStore)', { model: 'ListItem', defaultRootProperty: 'items' proxy: { type: 'ajax', url: 'data.json' }});

hbeing123
6 Mar 2012, 9:26 AM
I've been working with the Sencha Touch 2 RC and I just installed the new final release but almost all of the examples aren't working now, they show up as dead images on the examples page also... I've tried clearing my cache and it's still not working, it's not working on the phone either... they just come up blank... the examples seem to be working fine on the sencha site, they just don't seem to work when installed to my server. The RC examples worked fine.

edspencer
6 Mar 2012, 12:48 PM
@hbeing123 looks like we screwed up the local docs build in the download. We'll fix that for 2.0.1 - can you use the live docs on http://docs.sencha.com/touch for now?

nigelpegg
6 Mar 2012, 4:29 PM
The "Using and Creating Builds" section repeatedly mentions it will be updated after Beta 1. I also don't know how it fits with "Sencha Command", which uses some of the same tool, but differently.

fhellwig
7 Mar 2012, 5:40 AM
On the download page for the newly-released Sencha Touch 2.0.0, both links in the "Get Started" section lead to pages beginning with the phrase "This Tutorial is most relevant to Sencha Touch, 1.x."

hbeing123
7 Mar 2012, 7:54 AM
@edspencer thanks for confirming, I can work with the online examples for now, thank again.

gkatz
8 Mar 2012, 6:05 AM
Ext.os.is.<x>;its not clear what X is from the docs...
there is no full list of all possibilities anywhere except from looking at the source code. the 'is' method documentation lists a few possibilities but does not cover all. I think that the list should be on top of the doc for this class.
BTW; I am reffering to the possible constants. for example, Ext.os.is.iPad, Ext.os.is.Phone etc)
thanks.

rolfdaddy
8 Mar 2012, 1:27 PM
E.g., on http://docs.sencha.com/touch/2-0/#!/api/Ext.util.Geolocation (http://docs.sencha.com/touch/2-0/#%21/api/Ext.util.Geolocation)

The casing is important. I found that (in RC2 at least, haven't tested 2.0 final) if you have disabled Ext.Loader, in the code example given on the page:



var geo = Ext.create('Ext.util.Geolocation', {
autoUpdate: false,
listeners: {
locationupdate: function(geo) {
alert('New latitude: ' + geo.getLatitude());
},
locationerror: function(geo, bTimeout, bPermissionDenied, bLocationUnavailable, message) {
if(bTimeout){
alert('Timeout occurred.');
} else {
alert('Error occurred.');
}
}
}
});
geo.updateLocation();


it will error with

Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: Ext.util.Geolocation

Instead it needs to be


var geo =Ext.create (http://docs.sencha.com/touch/2-0/#%21/api/Ext-method-create)('Ext.util.GeoLocation (http://docs.sencha.com/touch/2-0/#%21/api/Ext.util.Geolocation)',... There may be other examples as well.

hbeing123
9 Mar 2012, 1:32 PM
noticed 2 more documentation bugs... under Native iOS Packaging you have "Steps to package your application for iOS on Mac" when I believe this should be for both windows and Mac.

Also there is a significant typo on the Native iOS Provisioning page where you have a typo in an OpenSSL command:

"openssl req –new –key myprivatekey.key –out CertificateSigningRequest.certSigningRequest –sub "/
emailAddress=yourAddress@example.com, CN=John Doe, C=US"

should be:

"openssl req –new –key myprivatekey.key –out CertificateSigningRequest.certSigningRequest –subj "/
emailAddress=yourAddress@example.com, CN=John Doe, C=US""

punchy
10 Mar 2012, 2:19 PM
looking at:
http://docs.sencha.com/touch/2-0/#!/guide/command

after install of the sdk, use command(win) or terminal(mac) navigate to the sdk directory
and type "sencha" and hit return.

documentation says it should say "Sencha Command v2.0.0 for Sencha Touch 2"
however on both MAC and WIN i get back "Sencha Command v2.0.0 Beta"

documentation proceeds to describe how to generate a new application using the "sencha app create" command. This command doesn't seem to do anything - tried on both win and mac

are the current SDKs available for download at http://www.sencha.com/products/sdk-tools not the latest SDK tools?

gkatz
13 Mar 2012, 12:55 AM
Hi all;
when looking in the API, each component has an example code and a live preview.
I think it would be super awesome to be able to edit that code on the fly and have the live preview be aware of the changes. something like an editable code editor...
I am not sure about if this is possible but it would be great and very very helpful.
thanks

renku
13 Mar 2012, 1:29 AM
@gkatz: What you are describing should already work. Just click the "Code Editor" button above the example, edit the code and press "Live Preview" - your changes should be reflected.

lhughey
16 Mar 2012, 8:06 AM
Oddly, only the watch list and job with friends show anything but a blank screen on my local box. The other applications simply display a white screen. Is there an easy fix for this? I'm using Chrome 17.0.9 on Win7 to view the examples.

renku
16 Mar 2012, 9:18 AM
The examples included to Sencha Touch 2.0.0 download are horribly broken. Sorry for that. Use the online docs (http://docs.sencha.com/touch/2-0/#!/example).

lhughey
16 Mar 2012, 10:07 AM
The examples included to Sencha Touch 2.0.0 download are horribly broken. Sorry for that. Use the online docs (http://docs.sencha.com/touch/2-0/#!/example).

Thanks for the reply. Will do.

aw1zard2
16 Mar 2012, 1:20 PM
Didn't notice if this was mentioned but "Sencha Touch 2 Native Packaging for Android" Guide needs to add this into the text. This is pasted form the packager.json files in the examples.


/**
* @cfg androidAPILevel
* This is android API level, the version of Android SDK to use, you can read more about it here: http://developer.android.com/guide/appendix/api-levels.html.
* Be sure to install corresponding platform API in android SDK manager (android_sdk/tools/android)
*/
"androidAPILevel":"15",

aw1zard2
16 Mar 2012, 1:27 PM
You might want to add the API levels from Android as well.







Android 4.0.3 (http://developer.android.com/sdk/android-4.0.3.html)
15 (http://developer.android.com/sdk/api_diff/15/changes.html)
ICE_CREAM_SANDWICH_MR1 (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#ICE_CREAM_SANDWICH_MR1)
Platform Highlights (http://developer.android.com/sdk/android-4.0-highlights.html)


Android 4.0, 4.0.1, 4.0.2 (http://developer.android.com/sdk/android-4.0.html)
14 (http://developer.android.com/sdk/api_diff/14/changes.html)
ICE_CREAM_SANDWICH (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#ICE_CREAM_SANDWICH)


Android 3.2 (http://developer.android.com/sdk/android-3.2.html)
13 (http://developer.android.com/sdk/api_diff/13/changes.html)
HONEYCOMB_MR2 (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#HONEYCOMB_MR2)



Android 3.1.x (http://developer.android.com/sdk/android-3.1.html)
12 (http://developer.android.com/sdk/api_diff/12/changes.html)
HONEYCOMB_MR1 (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#HONEYCOMB_MR1)
Platform Highlights (http://developer.android.com/sdk/android-3.1-highlights.html)


Android 3.0.x (http://developer.android.com/sdk/android-3.0.html)
11 (http://developer.android.com/sdk/api_diff/11/changes.html)
HONEYCOMB (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#HONEYCOMB)
Platform Highlights (http://developer.android.com/sdk/android-3.0-highlights.html)


Android 2.3.4
Android 2.3.3 (http://developer.android.com/sdk/android-2.3.3.html)
10 (http://developer.android.com/sdk/api_diff/10/changes.html)
GINGERBREAD_MR1 (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#GINGERBREAD_MR1)
Platform Highlights (http://developer.android.com/sdk/android-2.3-highlights.html)


Android 2.3.2
Android 2.3.1
Android 2.3 (http://developer.android.com/sdk/android-2.3.html)
9 (http://developer.android.com/sdk/api_diff/9/changes.html)
GINGERBREAD (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#GINGERBREAD)


Android 2.2.x (http://developer.android.com/sdk/android-2.2.html)
8 (http://developer.android.com/sdk/api_diff/8/changes.html)
FROYO (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#FROYO)
Platform Highlights (http://developer.android.com/sdk/android-2.2-highlights.html)


Android 2.1.x (http://developer.android.com/sdk/android-2.1.html)
7 (http://developer.android.com/sdk/api_diff/7/changes.html)
ECLAIR_MR1 (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#ECLAIR_MR1)
Platform Highlights (http://developer.android.com/sdk/android-2.0-highlights.html)


Android 2.0.1 (http://developer.android.com/sdk/android-2.0.1.html)
6 (http://developer.android.com/sdk/api_diff/6/changes.html)
ECLAIR_0_1 (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#ECLAIR_0_1)


Android 2.0 (http://developer.android.com/sdk/android-2.0.html)
5 (http://developer.android.com/sdk/api_diff/5/changes.html)
ECLAIR (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#ECLAIR)


Android 1.6 (http://developer.android.com/sdk/android-1.6.html)
4 (http://developer.android.com/sdk/api_diff/4/changes.html)
DONUT (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#DONUT)
Platform Highlights (http://developer.android.com/sdk/android-1.6-highlights.html)


Android 1.5 (http://developer.android.com/sdk/android-1.5.html)
3 (http://developer.android.com/sdk/api_diff/3/changes.html)
CUPCAKE (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#CUPCAKE)
Platform Highlights (http://developer.android.com/sdk/android-1.5-highlights.html)


Android 1.1 (http://developer.android.com/sdk/android-1.1.html)
2
BASE_1_1 (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#BASE_1_1)



Android 1.0
1
BASE (http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#BASE)

dcnauta74@gmail.com
17 Mar 2012, 6:27 AM
The guides of sencha touch 2 can not be clearly seen on the Ipad, because the right part of the text gets cut off. If you guys could fix this would really help because it would be possible to study the framework anywhere any time. It would help if we could zoom in too.

renku
18 Mar 2012, 11:27 AM
Currently the main problem is that documentation app is built in ExtJS which doesn't support iPad :(

martinvidec
20 Mar 2012, 5:39 AM
Ext.Date.now() returns a number not a date

jhoweaa
25 Mar 2012, 11:16 AM
I've been trying to use a list with the 'PullRefresh' plugin in an app that started from the initial app created by the Sencha SDK generate command. The list looked funny, the 'Pull to Refresh' text was always visible. After a bit of digging I realized that I was missing some stylesheet information. The app.scss file generated by the Sencha tool does not include the 'sencha-list-pullrefresh' styles. It would be nice if the documentation would list any scss modules required to make the item work. It would help in determining which modules a user can leave out in their scss file and which files they need to have.

Thanks!

nak1
29 Mar 2012, 10:28 AM
For some reason the toolbar title is overflowing onto the button. Below is the code I'm using to render the object. 33316


items:[{
xtype : "toolbar",
config:{
style:'background-color:white'
},
docked : "top",
title:'Central Activities List'
items:[{
xtype:'button',
iconCls: 'add',
iconMask: true,
handler:function() {


}
},{
xtype:'button',
iconCls: 'refresh',
iconMask: true,
handler:function() {

}
}]
}]

renku
29 Mar 2012, 11:28 AM
@nak1: This thread is dedicated for problems with documentation. Please post your question to Q&A forum instead.

mrsunshine
30 Mar 2012, 12:45 AM
the setter and getter for emptyText are missing in the docs for dataview and list

http://docs.sencha.com/touch/2-0/#!/api/Ext.dataview.DataView-cfg-emptyText