a list of item (like: image, title and brief description)
then in this list of item, for each item i want to put a button to enter in a new page
it's like a template for a list of offers and a button to enter in a page of a full description of a single offer

what i create now it's a list of item
i create a toolbar, i put an ext.component with a template...then i read a json and do an update of the component (so the template is populated by the update)

but now i can i make a link to a new component that represent the page of a single item?

from the examples i just saw from 'Guide' to create a list of items but how can i do a subpage for every single items?

If you're loading data from the same server, use an AjaxProxy, not a ScriptTagProxy.

If you just copy code without understanding why the pieces are there, you're going to have problems!

dbottillo

13 Jul 2010, 4:26 AM

i'm not just coping, i understand what the code do (i write many different code on my pc to understand layout and other stuff)

but i think that documentation and tutorials are not enough to create complicated application

maybe i'm blind but i didn't see anything about AjaxProxy and ScriptTagProxy in tutorial (only in the example 'guide' there is a ajax call to search twitter json...but it work very dfferent, it's in listener activate and do the update of a component)

anyway as soon as possibile i'll try to use AjaxProxy (even if i remember that i try to load from an external json and it didn't work...!)

however thank you for help me, i really appreciate

Daniele

TommyMaintz

13 Jul 2010, 1:46 PM

There are currently several people working on guides and tutorials that will hopefully help new users to get started easier. There are some basic HTML / javascript concepts that you will need to be familiar with in order to use Sencha Touch efficiently.

Just two quick tips:
- If you need to get data cross domain through some webservice/api you have to use the scripttag proxy. This is because XMLHttpRequest is restricted to the same domain.
- If you have control over your serverside and the data exists on the same domain, you will want to just use regular ajax.