{ "id": "106861", "key": "ALOY-440", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-21T03:16:58.000+0000", "created": "2012-12-20T17:21:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-manualtest" ], "versions": [], "issuelinks": [ { "id": "39122", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "133274", "key": "TIDOC-1773", "fields": { "summary": "Alloy: Update Picker documentation to describe collection binding support", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "40008", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "134919", "key": "TISTUD-6806", "fields": { "summary": "Update content assist for Picker to reflect new data-binding support", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-08-28T15:15:53.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13605", "name": "Models" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "h3. original discussion\r\n\r\nhttp://developer.appcelerator.com/question/145992/databinding-on-picker\r\n\r\nh3. problem\r\n\r\nCollection binding is not implemented for Ti.UI.Picker as it is for Ti.UI.TableView and other generic Titaniums views (View, Window, ScrollView, etc...). \r\n\r\nh3. solution \r\n\r\nSupport collection binding on Ti.UI.Picker just as it is on TableView. It will need special handling as the Ti.UI.Picker requires custom parsing for columns and rows. Something like this should be how it would work for devs:\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}", "attachment": [ { "id": "50486", "filename": "android_ActualResult_noSpinner.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T23:11:01.000+0000", "size": 40150, "mimeType": "image/png" }, { "id": "50488", "filename": "android_ActualResult_withSpinner_PickerRowBinding.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T23:11:01.000+0000", "size": 40143, "mimeType": "image/png" }, { "id": "50487", "filename": "android_ActualResult_withSpinner.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T23:11:01.000+0000", "size": 38795, "mimeType": "image/png" } ], "flagged": false, "summary": "Ti.UI.Picker has no collection binding", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 180, "state": "closed", "name": "2014 Sprint 17 Alloy", "startDate": "2014-08-18T15:31:24.649Z", "endDate": "2014-09-01T15:31:00.000Z", "completeDate": "2014-09-02T07:53:26.447Z", "originBoardId": 124 }, { "id": 151, "state": "closed", "name": "2014 Sprint 14 Alloy", "startDate": "2014-07-07T16:06:55.791Z", "endDate": "2014-07-21T16:06:00.000Z", "completeDate": "2014-07-21T15:07:08.207Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "310647", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "The original sample doesn't account for columns. Supporting columns could mean any of the following might be expected. What is our goal with this ticket?\r\n\r\n{code}\r\n// single collection, filtering and binding only at Picker level\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n{code}\r\n// single collection, binding at Picker level, filtering at column level\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n{code}\r\n// binding and filtering at column level\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-06-24T14:45:26.000+0000", "updated": "2014-06-24T14:45:26.000+0000" }, { "id": "314404", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/alloy/pull/483\r\n\r\nTest app: https://github.com/skypanther/alloy/blob/ALOY-440/test/apps/testing/ALOY-440\r\n\r\nFunctional test: build the app, it should display a two-column picker with fruits in the left column and colors in the right. Due to the dataTransform applied, the colors should be in all-caps", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-16T15:41:36.000+0000", "updated": "2014-07-16T15:41:36.000+0000" }, { "id": "319092", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "I'm not sure where I got the idea that you could use a