[jbosstools-issues] [JBoss JIRA] (JBIDE-14435) jquery mobile listview id property
Burr Sutter (JIRA)
jira-events at lists.jboss.org
Mon May 13 18:15:07 EDT 2013
Burr Sutter created JBIDE-14435:
-----------------------------------
Summary: jquery mobile listview id property
Key: JBIDE-14435
URL: https://issues.jboss.org/browse/JBIDE-14435
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Reporter: Burr Sutter
Attachments: jquery_mobile_listview.png
the listview should have a id property - allows the end-user to more easily then use JS to populate the ULs from a REST endpoint.
>From our TiMo tutorial:
http://www.jboss.org/jdf/examples/ticket-monster/tutorial/Introduction/#_adding_a_jquery_mobile_client_application
$.getJSON("rest/events", function(events) {
// console.log("returned are " + events);
var listOfEvents = $("#listOfItems");
listOfEvents.empty();
$.each(events, function(index, event) {
// console.log(event.name);
listOfEvents.append("<li><a href='#'>" + event.name + "</a>");
});
listOfEvents.listview("refresh");
});
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list