0 Replies Latest reply on Jun 12, 2008 10:36 AM by torstenp

    ColdFusion.Window.create & Refresh

    torstenp Level 1
      I found some vague info on the web regarding refreshOnShow:true not working when using ColdFusion.Window.create instead of <cfwindow>
      is this the case? is there a work around?

      function goAddNote(theType,theID) {
      var theURL = 'index.cfm?action=contact_info.add_note&type=' + theType + '&id=' + theID;

      var windowOptions = new Object();
      windowOptions.width = 800;
      windowOptions.height = 600;
      windowOptions.center = true;
      windowOptions.modal = false;
      windowOptions.resizable = true;
      windowOptions.initshow = false;
      windowOptions.draggable = false;
      windowOptions.closeable = true;
      windowOptions.refreshOnShow = true;
      windowOptions.bodystyle = 'margin-left: 0px; margin-top: 0px; padding-top: 0px; padding-left: 0px; background-color: ffffff;';

      ColdFusion.Window.create('Addnote1', 'Add Notes', theURL, windowOptions);
      ColdFusion.Window.show('Addnote1');
      }