jQuery Mobile Popup and ListView, and Knockout.js Data Binding Inside the Popup div - Not Working -


I Mobile is working on Microsoft, which is using jQuery Mobile and Knockout. JS. I have a complex complex scenario, which is bound to jQuery Mobileâ € ™ s popup and knockout data in the list view and pop out design, and I can not work it.

I have a nested list of the alarms shown below. For each day, it creates a list-split row, then within each day, there is a line of each alarm.

  & lt; Ul id = "alarmslist" data-bind = "foreach: days" data-roll = "list view" & gt; & Lt; Li data-role = "list-split" & gt; & Lt; Span data-bind = "text: date" & gt; & Lt; / Span & gt; & Lt; / Li & gt; & Lt ;! - Aggressive: Alarm 1 - & gt; & Lt; Li & gt; & Lt; A href = "# popupbasic" data-rel = "popup" & gt; & Lt; Span data-bind = "text: alarm name" & gt; & Lt; / Span & gt; & Lt; / A & gt; & Lt; Section id = "popupBasic" data-role = "popup" data-corners = "true" data-history = "incorrect" data overlay-theme = "A" & gt; & Lt; Data-icon = "delete" data-icon = "note" data-relay = "back" data-roll = "button" data-theme = "c" & Gt; Closed & lt; / A & gt; & Lt; Ul data-roll = "list view" data-inset = "true" & gt; & Lt; Li data-role = "divider" data-theme = "A" & gt; Alarm options & lt; / Li & gt; & Lt; Li & gt; Section square = "alarmmaster" & gt; & Lt; Span data-bound = "text: alarms" & gt; & Lt; / Span & gt; & Lt; / Section & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Go to data & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Accept & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Section & gt; & Lt; / Li & gt; & Lt ;! - / ko - & gt; & Lt; / Ul & gt;   

IAM needs to attach the popup widget to the alarm queue, such as clicking on the line, a popup appears with a list of options for that row. Should be available. The options for each row will depend on the alarm key.

This is where the problem occurs. The IAM data is trying to disrupt the alarm field (which is part of the alarm 1 array) so that the next operation will know what to do with the right alarm. However, I get a knockout error because this alarm can not be found (). I think that jQuery is creating popup section at the bottom of the mobile DOM, right below where my view and view modal are defined for beaten.

Anyway, how do anybody have any ideas? ? Fixâ ???? This situation? Or, know about a job? Or, even some other solution?

I also posted this question on Google Knockout.js Google Group and received an answer that It helps me on this. Thank you.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -