maqetta/maqetta — Issue #1797: RoundRecDataList does not display list items in designer
Author: billreed63
Created: 2012-02-22 16:47:40+00:00
State: open
Labels: Bug, Mobile, Priority High, Visual Editor

tweetView:

When I use the following json in the data store for RoundRecList list items are not displayed in page designer after closing and reopening page. It also does not display in preview unless I have the debugger open.

Use data from file in workspace

sample_data/tweeter.json:

````
{
"completed_in": 0.126,
"max_id": 172326837547040770,
"max_id_str": "172326837547040768",
"next_page": "?page=2&max_id=172326837547040768&q=%40twitterapi",
"page": 1,
"query": "%40twitterapi",
"refresh_url": "?since_id=172326837547040768&q=%40twitterapi",
"items": [
{
"created_at": "Wed, 22 Feb 2012 14:28:14 +0000",
"from_user": "iqbaloud",
"from_user_id": 181482740,
"from_user_id_str": "181482740",
"from_user_name": "M Iqbal Firdaus",
"geo": null,
"id": 172326837547040770,
"id_str": "172326837547040768",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a0.twimg.com/profile_images/1756407635/395629_2580162221520_1178354427_2272885_368746385_n_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1756407635/395629_2580162221520_1178354427_2272885_368746385_n_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "The BRIT Awards 2012 http://t.co/gHdllsPN via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:28:02 +0000",
"from_user": "HermioneLai",
"from_user_id": 434793822,
"from_user_id_str": "434793822",
"from_user_name": "Hermione Lai ",
"geo": null,
"id": 172326788322689020,
"id_str": "172326788322689025",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a2.twimg.com/profile_images/1828898603/image_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1828898603/image_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "Adele '21' wins BRITs 2012 MasterCard British Album of the Year | The BRIT Awards 2012 http://t.co/TqXGEf0G via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:27:51 +0000",
"from_user": "Jaydawg06",
"from_user_id": 118721748,
"from_user_id_str": "118721748",
"from_user_name": "Dr Jay",
"geo": null,
"id": 172326742101463040,
"id_str": "172326742101463041",
"iso_language_code": "nl",
"metadata": {
"result_type": "recent"
},
"icon": "http://a0.twimg.com/profile_images/1631917452/may_may_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1631917452/may_may_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "@twitterapi",
"to_user": "twitterapi",
"to_user_id": 6253282,
"to_user_id_str": "6253282",
"to_user_name": "Twitter API"
},
{
"created_at": "Wed, 22 Feb 2012 14:23:50 +0000",
"from_user": "BabosPavel",
"from_user_id": 410661470,
"from_user_id_str": "410661470",
"from_user_name": "Pavel Baberád",
"geo": null,
"id": 172325731592962050,
"id_str": "172325731592962048",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a0.twimg.com/profile_images/1730008793/pavel_amsterdam_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1730008793/pavel_amsterdam_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "The BRIT Awards 2012 http://t.co/jY7SM5pJ via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:20:56 +0000",
"from_user": "Assiya_1D",
"from_user_id": 360547500,
"from_user_id_str": "360547500",
"from_user_name": "Assiya",
"geo": null,
"id": 172325000966189060,
"id_str": "172325000966189056",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a2.twimg.com/profile_images/1816934315/303838_277211228978549_214595245240148_905632_1868878921_n_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1816934315/303838_277211228978549_214595245240148_905632_1868878921_n_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "One Direction 'What Makes You Beautiful' wins BRITs 2012 British Single | The BRIT Awards 2012 http://t.co/ecV482my via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:15:49 +0000",
"from_user": "Claretta_93",
"from_user_id": 270024507,
"from_user_id_str": "270024507",
"from_user_name": "Clara Fazzari",
"geo": null,
"id": 172323712400502800,
"id_str": "172323712400502786",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a1.twimg.com/profile_images/1653708106/DSCN2390_normal.JPG",
"icon_https": "https://si0.twimg.com/profile_images/1653708106/DSCN2390_normal.JPG",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "The BRIT Awards 2012 http://t.co/BMbmFZoj via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:15:32 +0000",
"from_user": "singhnishu13",
"from_user_id": 498770912,
"from_user_id_str": "498770912",
"from_user_name": "Meenakshi",
"geo": null,
"id": 172323642124935170,
"id_str": "172323642124935169",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a2.twimg.com/sticky/default_profile_images/default_profile_3_normal.png",
"icon_https": "https://si0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "Twitter for Websites | Twitter Developers https://t.co/ufB24pEn via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:15:07 +0000",
"from_user": "abigaillecloe",
"from_user_id": 498345674,
"from_user_id_str": "498345674",
"from_user_name": "abigaille ",
"geo": null,
"id": 172323538211045380,
"id_str": "172323538211045377",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a3.twimg.com/profile_images/1841978353/labbra_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1841978353/labbra_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "The BRIT Awards 2012 http://t.co/QEnJKjVn via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:12:35 +0000",
"from_user": "Kacha5969",
"from_user_id": 477654357,
"from_user_id_str": "477654357",
"from_user_name": "Katarzyna K.",
"geo": null,
"id": 172322900492292100,
"id_str": "172322900492292097",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a0.twimg.com/sticky/default_profile_images/default_profile_5_normal.png",
"icon_https": "https://si0.twimg.com/sticky/default_profile_images/default_profile_5_normal.png",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "Take That | The BRIT Awards 2012 http://t.co/XOb3qpVz przez @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:11:10 +0000",
"from_user": "Joana_LP",
"from_user_id": 285287421,
"from_user_id_str": "285287421",
"from_user_name": "Joana Lopes",
"geo": null,
"id": 172322541032058880,
"id_str": "172322541032058881",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a3.twimg.com/profile_images/1719972083/155093_10150115517196788_8210451787_8202569_5365699_n_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1719972083/155093_10150115517196788_8210451787_8202569_5365699_n_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "Coldplay named BRITs 2012 British Group | The BRIT Awards 2012 http://t.co/8GRlZSl7 via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:09:53 +0000",
"from_user": "radosix",
"from_user_id": 173852995,
"from_user_id_str": "173852995",
"from_user_name": "Radoslav Peev",
"geo": null,
"id": 172322221530947600,
"id_str": "172322221530947584",
"iso_language_code": "ru",
"metadata": {
"result_type": "recent"
},
"icon": "http://a0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
"icon_https": "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "?????? ????? ? ????????? ???????? ?? ??. ?????. ?????????? ? ?????, ???? ?????, ??????? ???? ... http://t.co/MLjXKodM via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:06:56 +0000",
"from_user": "graroot",
"from_user_id": 457587495,
"from_user_id_str": "457587495",
"from_user_name": "arman sobarli",
"geo": null,
"id": 172321478300282880,
"id_str": "172321478300282880",
"iso_language_code": "nl",
"metadata": {
"result_type": "recent"
},
"icon": "http://a2.twimg.com/profile_images/1739538937/ahnd_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1739538937/ahnd_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "@twitterapi",
"to_user": "twitterapi",
"to_user_id": 6253282,
"to_user_id_str": "6253282",
"to_user_name": "Twitter API"
},
{
"created_at": "Wed, 22 Feb 2012 14:06:34 +0000",
"from_user": "graroot",
"from_user_id": 457587495,
"from_user_id_str": "457587495",
"from_user_name": "arman sobarli",
"geo": null,
"id": 172321386470191100,
"id_str": "172321386470191104",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a2.twimg.com/profile_images/1739538937/ahnd_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1739538937/ahnd_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "Twitter for Websites | Twitter Developers https://t.co/edCFunPz via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 14:04:33 +0000",
"from_user": "onroadstolove",
"from_user_id": 410765049,
"from_user_id_str": "410765049",
"from_user_name": "major minus.",
"geo": null,
"id": 172320876283428860,
"id_str": "172320876283428865",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a3.twimg.com/profile_images/1838203138/tumblr_lyuty8RFEs1r8s433o1_500_normal.png",
"icon_https": "https://si0.twimg.com/profile_images/1838203138/tumblr_lyuty8RFEs1r8s433o1_500_normal.png",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "2012 - Coldplay 'Charlie Brown' (live) | The BRIT Awards 2012 http://t.co/8T3a2b0c via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
},
{
"created_at": "Wed, 22 Feb 2012 13:55:00 +0000",
"from_user": "AntonidesM",
"from_user_id": 231145113,
"from_user_id_str": "231145113",
"from_user_name": "Marten Antonides",
"geo": null,
"id": 172318475505766400,
"id_str": "172318475505766400",
"iso_language_code": "en",
"metadata": {
"result_type": "recent"
},
"icon": "http://a1.twimg.com/profile_images/1845690426/NetplusWork_Profielfoto_normal.jpg",
"icon_https": "https://si0.twimg.com/profile_images/1845690426/NetplusWork_Profielfoto_normal.jpg",
"source": "<a href="http://twitter.com/tweetbutton" rel="nofollow">Tweet Button</a>",
"label": "Twitter for Websites | Twitter Developers https://t.co/OyiFoCuS via @twitterapi",
"to_user": null,
"to_user_id": null,
"to_user_id_str": null,
"to_user_name": null
}
],
"results_per_page": 15,
"since_id": 0,
"since_id_str": "0"
}

````

app.css:

````
/*
* This file is provided for application-specific style rules.
*
* By default, Maqetta includes this CSS file within HTML pages
* authored in Maqetta.
*
* This file is typically used to override style rules found in
* theme CSS files. For example, suppose the theme CSS file has:
*
* .claro .dijitButton .dijitButtonNode {
*	padding:2px 4px 4px 4px;
* }
*
* But for your application suppose you want to tighten the padding
* for buttons. Then, you might include the following style rule
* in this file (assuming that you accept Maqetta's default where
* id "myapp" is present on the BODY element, and assuming
* that you are using the "claro" theme):
*
* #myapp.claro .dijitButton .dijitButtonNode {
*	padding:1px 3px 3px 3px;
* }
*
* Because of CSS precedence rules (see [1]), the above style rule
* (which begins with #myapp.claro) will "win the cascade" versus
* the style rule from the theme CSS file due to the use of the
* ID select (#myapp), which has higher specificity than the class
* selectors used throughout the Claro theme.
*
* [1] http://www.w3.org/TR/CSS21/cascade.html#cascade
*/
html,body {
height: 100%;
width: 100%;
}

.mblListItemIcon img {
height: 30px;
}

````

tweeterView.html:

````

Untitled

Mention tweet item here

Mention tweet item here2

Setting item here

Setting item here2

````