This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Web Server - Ask For Help / Re: Call Nettalk Form - JQuery UI Dialog from a Scheduler Javascript Library
« on: July 22, 2013, 02:54:58 AM »
Thanks for the help Bruce, all sorted and working well.
Sylvester
Sylvester
2
Web Server - Ask For Help / Re: Call Nettalk Form - JQuery UI Dialog from a Scheduler Javascript Library
« on: July 16, 2013, 05:30:44 AM »
Hi Bruce
So what I did:
1. Add the div to the page
<div id="popup_bookingform_div"></div>
2. call the form
ntd.push('BookingForm','','Update',1,1,'','PageScheduler','','fred=1&bob=2')
I can see the call as a result from the ntd.push, in the Console
http://server/BookingForm?_ajax_=1&pressedButton=change_btn&_popup_=1&_bidv_=899999999&fred=1&bob=2
Nettalk server
debugging, I can see the response is the form I am loading.
GET /BookingForm?_ajax_=1&pressedButton=change_btn&_popup_=1&_bidv_=899999999&fred=1&bob=2 HTTP/1.1
Host: server
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
Accept: */*
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Referer: http://server/PageScheduler
Connection: keep-alive
the reponse shows me my form, I will post a new line.
The issue is No Popup actually opens, could it be an issue with the initial div, with the popup_procName_div
To confirm, must this div be on the refer page, in this case, PageScheduler?
So what I did:
1. Add the div to the page
<div id="popup_bookingform_div"></div>
2. call the form
ntd.push('BookingForm','','Update',1,1,'','PageScheduler','','fred=1&bob=2')
I can see the call as a result from the ntd.push, in the Console
http://server/BookingForm?_ajax_=1&pressedButton=change_btn&_popup_=1&_bidv_=899999999&fred=1&bob=2
Nettalk server
debugging, I can see the response is the form I am loading.
GET /BookingForm?_ajax_=1&pressedButton=change_btn&_popup_=1&_bidv_=899999999&fred=1&bob=2 HTTP/1.1
Host: server
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
Accept: */*
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Referer: http://server/PageScheduler
Connection: keep-alive
the reponse shows me my form, I will post a new line.
The issue is No Popup actually opens, could it be an issue with the initial div, with the popup_procName_div
To confirm, must this div be on the refer page, in this case, PageScheduler?
3
Web Server - Ask For Help / Re: Call Nettalk Form - JQuery UI Dialog from a Scheduler Javascript Library
« on: July 12, 2013, 03:16:36 AM »
Thanks Bruce, I will implement and test.
Appreciated.
Sylvester
Appreciated.
Sylvester
4
Web Server - Ask For Help / Re: Call Nettalk Form - JQuery UI Dialog from a Scheduler Javascript Library
« on: July 07, 2013, 11:32:21 PM »
Bruce, I think the question is how would I call a nettalk form from the custom javascript widget that would have it work exactly the same if called from within nettalk, either from a menu item, browse etc.
Currently I call a form, as per my example,
var tag1 = $("<div></div>");
$.ajax({
url: "BookingForm?sessioncode="+id+"&staffid="+ev.section_id+"&itemid="+ev.section4_id+"&resourceid="+ev.section2_id+"&equipmentid="+ev.section3_id+"&startdate="+ev.start_date+"&enddate="+ev.end_date,
success: function(data) {
tag1.html(data).dialog({modal: true, height: 750, width: 550, close: function(event, ui) { DoCloseEvent(); } }).dialog('open');
} // success funtion
}); //close this ajax
To open it as a JQuery dialog.
If you could point me in the right direction, much appreciated.
Thanks
Currently I call a form, as per my example,
var tag1 = $("<div></div>");
$.ajax({
url: "BookingForm?sessioncode="+id+"&staffid="+ev.section_id+"&itemid="+ev.section4_id+"&resourceid="+ev.section2_id+"&equipmentid="+ev.section3_id+"&startdate="+ev.start_date+"&enddate="+ev.end_date,
success: function(data) {
tag1.html(data).dialog({modal: true, height: 750, width: 550, close: function(event, ui) { DoCloseEvent(); } }).dialog('open');
} // success funtion
}); //close this ajax
To open it as a JQuery dialog.
If you could point me in the right direction, much appreciated.
Thanks
5
Web Server - Ask For Help / Re: Call Nettalk Form - JQuery UI Dialog from a Scheduler Javascript Library
« on: July 06, 2013, 01:51:21 AM »
Hi, LOL, Ver 6.28.
The error does not go away after the the form has opened.
Yes, Nettalk app with custom Javascript widget on page.
Thanks
Sylvester
The error does not go away after the the form has opened.
Yes, Nettalk app with custom Javascript widget on page.
Thanks
Sylvester
6
Web Server - Ask For Help / Call Nettalk Form - JQuery UI Dialog from a Scheduler Javascript Library
« on: July 05, 2013, 06:11:22 AM »
Hi, I have a strange issue.
I have a form that I call in an external library:
BookingForm = Nettalk form
var tag1 = $("<div></div>");
$.ajax({
url: "BookingForm?sessioncode="+id+"&staffid="+ev.section_id+"&itemid="+ev.section4_id+"&resourceid="+ev.section2_id+"&equipmentid="+ev.section3_id+"&startdate="+ev.start_date+"&enddate="+ev.end_date,
success: function(data) {
tag1.html(data).dialog({modal: true, height: 750, width: 550, close: function(event, ui) { DoCloseEvent(); } }).dialog('open');
} // success funtion
}); //close this ajax
This opens the form in a popup (jquery dialog). Great!
Issue is it opens with a Javascript Error 'Error in Site Javascript) as well as opening very slow ( it appears to be loading all.js when opening the dialog - taking bulk of the time)
If I call the same form from within nettalk, No Error.
Any help appreciated,
Oh, using ver 2.68, at this time , upgrade not an option.
I have a form that I call in an external library:
BookingForm = Nettalk form
var tag1 = $("<div></div>");
$.ajax({
url: "BookingForm?sessioncode="+id+"&staffid="+ev.section_id+"&itemid="+ev.section4_id+"&resourceid="+ev.section2_id+"&equipmentid="+ev.section3_id+"&startdate="+ev.start_date+"&enddate="+ev.end_date,
success: function(data) {
tag1.html(data).dialog({modal: true, height: 750, width: 550, close: function(event, ui) { DoCloseEvent(); } }).dialog('open');
} // success funtion
}); //close this ajax
This opens the form in a popup (jquery dialog). Great!
Issue is it opens with a Javascript Error 'Error in Site Javascript) as well as opening very slow ( it appears to be loading all.js when opening the dialog - taking bulk of the time)
If I call the same form from within nettalk, No Error.
Any help appreciated,
Oh, using ver 2.68, at this time , upgrade not an option.
7
Web Server - Ask For Help / add a Flex Grid in nettalk
« on: January 17, 2012, 01:39:57 AM »
Hi,
how easy would it be to (steps) to change the default browse style to using one like Flex Grid. http://flexigrid.info/
I have downloaded the javascript as well as the CSS file.
Sylvester
how easy would it be to (steps) to change the default browse style to using one like Flex Grid. http://flexigrid.info/
I have downloaded the javascript as well as the CSS file.
Sylvester
Pages: [1]