12-08-2012 03:44 PM
Apologies if you saw this post in the other forum, but I thought it might get more traction here.
In the following code:
listItemComponents: [
ListItemComponent {
type: "item"
StandardListItem {
title: ListItemData.title
description: Qt.formatDateTime(ListItemData.pubDate)
attachedObjects: [
Invocation {
id: invoke
query: InvokeQuery {
uri: ListItemData.link
}
}
]
}
}
]
onTriggered: {
var selectedItem = dataModel.data(indexPath);
invoc.trigger("bb.action.OPEN");
}
How can I get at the Invocation attached to the StandardListItem from onTriggered?