{ "id": "107939", "key": "ALOY-466", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14872", "description": "2013 Sprint 03", "name": "2013 Sprint 03", "archived": true, "released": true, "releaseDate": "2013-02-11" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-01-29T18:10:23.000+0000", "created": "2013-01-16T06:59:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "events", "tableview", "tableviewsection" ], "versions": [], "issuelinks": [ { "id": "24615", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "108004", "key": "ALOY-492", "fields": { "summary": "Events are blocked in special cases in TableViewSection", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-01-29T00:07:11.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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "If you create a TableView in an Alloy View, and then populate it with TableViewRow's which are created from Alloy view files, then click events are not passed to the parent. NOTE: if you create rows in dynamically in code or pre-defined in the TableView.xml file, then click events are passed.\r\n\r\nref: [Q&A | http://developer.appcelerator.com/question/146467/alloy-tableviews-with-sections-not-passing-click-events]\r\n\r\ncode to reproduce:\r\n*index.xml*\r\n{code:title=index.xml |borderStyle=solid}\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*testRow.xml*\r\n(.js and .ts files are blank)\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n\r\n*index.js*\r\n\r\n{code:title=index.js}\r\n\r\nfunction rowWasClicked(e) {\r\n alert('you pressed me');\r\n}\r\n \r\nfor (var i = 0; i < 5; i++) {\r\n //$.activeSection.add(Ti.UI.createTableViewRow({title: 'row ' + (i+1)}));\r\n \r\n var args = {};\r\n var row = Alloy.createController('testRow', args).getView();\r\n //row.bubbleParent = true;\r\n \r\n $.activeSection.add(row);\r\n \r\n}\r\n \r\n$.index.open();\r\n{code}\r\n\r\n_notes_\r\n\r\n(tableViewRow.xml is code I took from the TableViewRow online doc.)\r\n\r\nIf I remove the View (in the row), it works perfectly. If the View is in place, then only the 1st row responds to taps. (Using the iOS simulator.) The other rows are silent. It seems that other elements (