HTML5 Data Bindings Support Product Page

Under investigation

firefox problem: shows no paged output and no detail region

Reported 12 May 2016 05:56:09
1
has this problem
12 May 2016 05:56:09 Greta Garberini posted:
Crazy thing which I cannot solve...
I created a paged site with repeat and detailed region (for editing). Everything works fine in Chrome, IE, Edge but not in firefox.:
The browser code shows:

<tbody>
<!--START REPEAT-->
<!--END REPEAT-->
....


Followed by the buttons and again no output for the page number, or values of page x of y.

The same code on chrome looks like:

<tbody>
 <!--START REPEAT-->
<tr data-binding-id="repeat1">
<td> repeated stuff from database</td>
</tr>
<!--END REPEAT-->


Similar with the Detail Region. There is a table with details for a selected record. Works superfast with all browsers except firefox. It does not show any data in LiveView, though.

I can repeat the whole thing on different OSs. Firefox never shows any data. I disabled all addons in firefox but the problem persists.

One little thing: In the "Paged Query Properties box" it keeps losing the entry for the "LIMIT". Every time I re-open the page it is reset to {{$_GET.lmit}} although I put a value into this field.

The server runs on php 7.0.4 in our local LAN.


<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<title>some title</title>
<link rel="stylesheet" type="text/css" href="bootstrap/3/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="Styles/dmxEditor.css" />
<link rel="stylesheet" type="text/css" href="ScriptLibrary/dmxEditor/iconsets/bootstrap_18/bootstrap_18.css" />
<script type="text/javascript" src="ScriptLibrary/require.js"></script>
<link rel="stylesheet" type="text/css" href="Styles/dmxNotify.css" />
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="bootstrap/3/js/bootstrap.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxBootstrap3Navigation.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxDataBindings.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxDataSet.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxServerAction.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxDataFilters.js"></script>
<link rel="stylesheet" type="text/css" href="bootstrap/3/css/dmxBootstrap3Forms.css" />
<script type="text/javascript" src="bootstrap/3/js/dmxBootstrap3Forms.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxEditor.min.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxNotify.js"></script>
<script type="text/javascript">
function dmxBootstrap3ComponentsAction(type, target, action) { // v1.0
 var evt = jQuery.event.fix(window.event || arguments.callee.caller.arguments[0]),
  args = Array.prototype.slice.call(arguments, 2);

  jQuery(target)[type](action);

 evt.preventDefault();
}
function dmxDataBindingsAction(action, target) { // v1.90
 var inst, evt = jQuery.event.fix(window.event || arguments.callee.caller.arguments[0]),
  args = Array.prototype.slice.call(arguments, 2);

 switch (action) {
  case 'refresh': inst = 'ds'; action = 'load'; break;
  case 'setPage': inst = 'ds'; break;
  case 'selectCurrent': inst = 'rp'; action = 'select'; break;
 }

 inst = (inst == 'ds')
  ? jQuery.dmxDataSet.dataSets[target]
  : jQuery(evt.target).closest('[data-binding-id="' + target + '"]').data('repeater')
  || jQuery.dmxDataBindings.regions[target];

 if (inst) inst[action].apply(inst, args);

 evt.preventDefault();
}
function dmxServerActionControl(action, id) { // v1.0
  if (jQuery.dmxServerAction) {
    var da = jQuery.dmxServerAction.get(id),
        args = Array.prototype.slice.call(arguments, 2);
    if (da) {
      da[action].apply(da, args);
    }
  }
}
function dmxNotifyAction() {   //ver 2.00
  if (arguments && arguments.length > 0) {
    if(typeof arguments[0] == 'object'){
      jQuery.dmxNotify(arguments[0]);
    }else if(arguments[0] === 'closeAll'){
       jQuery.dmxNotify.closeAll();
    }
  }
}
function dmxStateManagementAction(action, name, value, cookie, scope) { // v1.00
 var evt = jQuery.event.fix(window.event || arguments.callee.caller.arguments[0]),
  args = [name, value], db = jQuery.dmxDataBindings;

  if (cookie) {
    if (cookie.type == 'date' && cookie.interval && cookie.unit) {
      var nd = new Date();
      switch(cookie.interval) {
        case 'y' : nd.setFullYear(nd.getFullYear() + cookie.unit);  break;
        case 'mm': nd.setMonth(nd.getMonth() + cookie.unit);  break;
        case 'h' : nd.setTime(nd.getTime() + cookie.unit*3600000);  break;
        case 'm' : nd.setTime(nd.getTime() + cookie.unit*60000);  break;
        default  : nd.setDate(nd.getDate() + cookie.unit);  break;
      }
      args.push(nd);
    } else {
      args.push(null);
    }
    args.push(cookie.path ? cookie.path : null);
    args.push(cookie.domain ? cookie.domain : null);
    args.push(cookie.secure ? cookie.secure : null);
  }

  if (db) db[action].apply(scope, args);
  evt.preventDefault();
}
</script>
</head>

Replies

This reply was removed on 5/12/2016 6:05:13 AM.
See the changelog
Replied 12 May 2016 08:02:49
12 May 2016 08:02:49 Teodor Kuduschiev replied:
Hello,
We need to see your page running to be able to tell you what the issue is,

Reply to this topic