[jbosstools-issues] [JBoss JIRA] (JBIDE-14435) jquery mobile listview id property
Burr Sutter (JIRA)
jira-events at lists.jboss.org
Wed May 15 09:13:06 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774458#comment-12774458 ]
Burr Sutter commented on JBIDE-14435:
-------------------------------------
summit2013
> jquery mobile listview id property
> ----------------------------------
>
> Key: JBIDE-14435
> URL: https://issues.jboss.org/browse/JBIDE-14435
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml/html source editing
> Reporter: Burr Sutter
> Assignee: Viacheslav Kabanovich
> Fix For: 4.1.0.Beta1
>
> 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