-
9 Mar 2012 7:00 PM #1
LIST stops loading with associated jsonp Store
LIST stops loading with associated jsonp Store
While Prototyping an application with a Tab panel and an jsonp Store,
I edited the template to show a list inside one of the tab panels, I used {FIELDNAME:usMoney}
For the list template.
The list Never showed (just a loading message) on the published version but rendered correctly inside Designer 2 verison Build 311.
After removing the usMoney on the list Template <div>{FIELD}</div>
The list showed the results from the jsonp Correctly and the application was published correctly.
The store Had a Model Built Separatly and json reader came from a php application, The fields that were trying to be formatted were float, and had number like 1250000.24452.
hth
Rodrigo O
Xnet
-
10 Mar 2012 6:38 PM #2
Hi,
<div>{FIELD}</div> is correct if you had a column named FIELD. You want to match what you have in the curly braces with field names in the model or store.
http://docs.sencha.com/touch/2-0/#!/...ew-cfg-itemTpl
RegardsBharat Nagwani
Sencha Designer Development Team
-
11 Mar 2012 7:26 AM #3
it works fine withouhe usmoney option
it works fine withouhe usmoney option
Hi,
We have several fields that display inside the list correctly,
The problem arises when you apply the us money to a float field
If we do so, the list won't load,
The {FIELD} was an explanation only
It fails while trying to formatt the field with usMoney
It is acctually named MONTO, and it works without formatting
The strange thing is that in previews correctly inside the designer ui
Hth
Rodrigo
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote