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.
1
Web Server - Ask For Help / Re: How To Automatically print a report when closing a netwebform?
« on: January 29, 2019, 05:00:11 AM »
Just to close this off.
Bruce's solution for this as shown in the webinar works spot on for what I needed.
You just need to be careful to get your single quotes and double quotes right in the javascript otherwise it just doesn't work, and it doesn't give you any clues as to why as far as I could tell.
Regards,
Neil.
Bruce's solution for this as shown in the webinar works spot on for what I needed.
You just need to be careful to get your single quotes and double quotes right in the javascript otherwise it just doesn't work, and it doesn't give you any clues as to why as far as I could tell.
Regards,
Neil.
2
Web Server - Ask For Help / Re: How To Automatically print a report when closing a netwebform?
« on: January 24, 2019, 09:18:30 AM »
Hi Ron,
Thanks for the suggestion, I really appreciate you looking at this.
I did try the PostInsert embed on the form, but that didn't work unfortunately.
I managed to get some help from Bruce during his weekly webinar, and he has pointed me to the GotFocusBack routine in the browse. With a little bit of javascript it looks like I'll effectively be able to "push" the print button for my lazy user :-)
I'm having trouble getting it to work at the moment. I need to wait for the webinar recording to be posted to check what I'm typing, but I don't think I'm going to be far away.
Regards,
Neil.
Thanks for the suggestion, I really appreciate you looking at this.
I did try the PostInsert embed on the form, but that didn't work unfortunately.
I managed to get some help from Bruce during his weekly webinar, and he has pointed me to the GotFocusBack routine in the browse. With a little bit of javascript it looks like I'll effectively be able to "push" the print button for my lazy user :-)
I'm having trouble getting it to work at the moment. I need to wait for the webinar recording to be posted to check what I'm typing, but I don't think I'm going to be far away.
Regards,
Neil.
3
Web Server - Ask For Help / How To Automatically print a report when closing a netwebform?
« on: January 23, 2019, 08:44:56 AM »
I have a pretty standard NetWebBrowse which also has an NetWebForm linked to it.
The form is designed to capture address information, and once the form has been saved, I return to the browse, and allow the user to press a print button to create a shipping label with the previously entered address information on it.
This all works fine, BUT some users don't like the fact that they are having to save the form and then print the label by pressing the print button. They want the label to print automatically.
I need to be able to achieve this on a user by user basis, as some people want this feature, and others don't.
I'm not sure whether to try and embed some code in the form to try and call the print procedure from there before returning to my browse, or maybe try to modify the SetFromAction routine to try to return to the print procedure rather than the browse.
Does anyone have any experience with this or suggestions?
Regards,
Neil.
The form is designed to capture address information, and once the form has been saved, I return to the browse, and allow the user to press a print button to create a shipping label with the previously entered address information on it.
This all works fine, BUT some users don't like the fact that they are having to save the form and then print the label by pressing the print button. They want the label to print automatically.
I need to be able to achieve this on a user by user basis, as some people want this feature, and others don't.
I'm not sure whether to try and embed some code in the form to try and call the print procedure from there before returning to my browse, or maybe try to modify the SetFromAction routine to try to return to the print procedure rather than the browse.
Does anyone have any experience with this or suggestions?
Regards,
Neil.
4
Web Server - Ask For Help / Re: Override type declaration in generated WSDL
« on: February 13, 2017, 07:42:02 AM »
Thanks Bruce.
I was't suggesting that there was anything wrong with what Nettalk was generating as such, it just seems to be how my other development environment interprets the WSDL file. If anything, I might have suggested that a Real maps to a Float??
I experimented by manually changing the WSDL file without doing anything to the nettalk server, and xs:float, xs:string or xs:int seemed to cause problems, in my client application, but xs:long worked fine.
I just wondered if there was a way that I could put something into the code that would override these fields so that I don't have to remember to manually change them each time.
Regards,
Neil.
I was't suggesting that there was anything wrong with what Nettalk was generating as such, it just seems to be how my other development environment interprets the WSDL file. If anything, I might have suggested that a Real maps to a Float??
I experimented by manually changing the WSDL file without doing anything to the nettalk server, and xs:float, xs:string or xs:int seemed to cause problems, in my client application, but xs:long worked fine.
I just wondered if there was a way that I could put something into the code that would override these fields so that I don't have to remember to manually change them each time.
Regards,
Neil.
5
Web Server - Ask For Help / Override type declaration in generated WSDL
« on: February 13, 2017, 02:33:34 AM »
I have a return value that is declared in Clarion as a REAL. In the WSDL file that is generated by Nettalk this is declared as type="xs:int"
Is there a way that I can override the type declaration, as I would like it to be type"xs:long"
The reason being that I'm consuming this wsdl file into another development environment, and when I read the value that is declared as int, it is being truncated, whereas when it is declared as long, it works fine.
Regards,
Neil.
Is there a way that I can override the type declaration, as I would like it to be type"xs:long"
The reason being that I'm consuming this wsdl file into another development environment, and when I read the value that is declared as int, it is being truncated, whereas when it is declared as long, it works fine.
Regards,
Neil.
6
Web Server - Ask For Help / Re: Consuming WSDL files
« on: February 13, 2017, 02:24:41 AM »
+1
Regards,
Neil Porter
Regards,
Neil Porter
7
Web Server - Ask For Help / Re: Best place for additional Netweb Form Validation?
« on: March 30, 2016, 08:38:52 AM »
Thanks Bruce.
I have got my code in the "Right" place then?
Regards,
Neil.
I have got my code in the "Right" place then?
Regards,
Neil.
8
Web Server - Ask For Help / Best place for additional Netweb Form Validation?
« on: March 24, 2016, 01:52:10 AM »
I'm using a Netweb Form to gather input from a user. Once I've completed my own validation (checked fields have been populated etc.) I need to post the results to an external 3rd Party Webservice, which will further validate the data returning a success for fail.
I've been using the "ValidateAll" embed to add my call the the extra web service because I don't want the contents of my form being saved unless I pass the 3rd party validation.
On the face of it everything works fine, and has been in production for some time, BUT we get occasional queries about duplicates being posting to the 3rd Party Webservice. We've never been able to reproduce this, and it seems very random.
By chance yesterday we stumbled upon the issue. Our Netweb form remains visible whilst the call to the 3rd Party web service is completed. If this call is slow (maybe a second or 2 to complete) it is possible that a user can press the save button on our form multiple times believing that the page has hung, causing multiple duplicate posts to the 3rd party.
Can anyone suggest a better way of achieving what I want, or an alternative embed, or even a way of stopping the user pressing the save button on the form multiple times?
Regards,
Neil Porter
I've been using the "ValidateAll" embed to add my call the the extra web service because I don't want the contents of my form being saved unless I pass the 3rd party validation.
On the face of it everything works fine, and has been in production for some time, BUT we get occasional queries about duplicates being posting to the 3rd Party Webservice. We've never been able to reproduce this, and it seems very random.
By chance yesterday we stumbled upon the issue. Our Netweb form remains visible whilst the call to the 3rd Party web service is completed. If this call is slow (maybe a second or 2 to complete) it is possible that a user can press the save button on our form multiple times believing that the page has hung, causing multiple duplicate posts to the 3rd party.
Can anyone suggest a better way of achieving what I want, or an alternative embed, or even a way of stopping the user pressing the save button on the form multiple times?
Regards,
Neil Porter
9
Web Server - Ask For Help / Re: Allowing xHTML in header seems to break browse refresh
« on: April 25, 2015, 09:38:50 AM »
oops, it must have worked by fluke in the past.
Thank you for putting me straight.
Regards,
Neil.
Thank you for putting me straight.
Regards,
Neil.
10
Web Server - Ask For Help / Allowing xHTML in header seems to break browse refresh
« on: April 23, 2015, 02:51:30 AM »
I have a NetWebBrowse procedure where a couple of column headings are much larger than the actual column data.
I've got into the habit of ticking the allow xHTML in header box and splitting the header text into 2 rows - 'Scheduled</br>Start'
I haven't touched that procedure in a while. To be honest I haven't had much cause to make any changes to my Nettalk web servers, but I made a minor change the other day, and noticed that this browse was no longer refreshing properly. If I applied a filter, or even tried to page up and down the browse would just fade to the background and never come back. If you right click the window and reload, then the browse comes back with the next page, or filter applied.
After a lot of experimenting, I've narrowed it down to the xHTML in the header. Remove the tick and take out the </br> and everything works as expected.
I'm afraid I don't know exactly when it stopped working, but it doesn't seem to work in version 8.32 and it still doesn't work in 8.44
Regards,
Neil.
I've got into the habit of ticking the allow xHTML in header box and splitting the header text into 2 rows - 'Scheduled</br>Start'
I haven't touched that procedure in a while. To be honest I haven't had much cause to make any changes to my Nettalk web servers, but I made a minor change the other day, and noticed that this browse was no longer refreshing properly. If I applied a filter, or even tried to page up and down the browse would just fade to the background and never come back. If you right click the window and reload, then the browse comes back with the next page, or filter applied.
After a lot of experimenting, I've narrowed it down to the xHTML in the header. Remove the tick and take out the </br> and everything works as expected.
I'm afraid I don't know exactly when it stopped working, but it doesn't seem to work in version 8.32 and it still doesn't work in 8.44
Regards,
Neil.
11
Web Server - Ask For Help / Anything changed With JQuery Themeroller?
« on: October 02, 2014, 08:16:52 AM »
I've tried to roll my own theme today.
I noticed that the files included in the zip file that I've downloaded from JQuery look a little different to what I've seen in the past, and it looks like the query-ui.css file no longer has the version number in it.
I've taken this file, and the images folder, and I've created a new subfolder in the themes folder and added the files as I've done in the past.
I recompile my app, and make sure gzipall.bat runs.
I get all the extra files appearing that the gzipall.bat creates, so everything is looking good, but when I run my web server and specify that it should use my new theme at runtime, the theme just does't look anything like I created on the JQuery site.
Has anyone else seen anything similar recently?
Regards,
Neil.
I noticed that the files included in the zip file that I've downloaded from JQuery look a little different to what I've seen in the past, and it looks like the query-ui.css file no longer has the version number in it.
I've taken this file, and the images folder, and I've created a new subfolder in the themes folder and added the files as I've done in the past.
I recompile my app, and make sure gzipall.bat runs.
I get all the extra files appearing that the gzipall.bat creates, so everything is looking good, but when I run my web server and specify that it should use my new theme at runtime, the theme just does't look anything like I created on the JQuery site.
Has anyone else seen anything similar recently?
Regards,
Neil.
12
Web Server - Ask For Help / Adobe Acrobat - Direct Print
« on: September 05, 2014, 06:38:24 AM »
Has anyone any experience getting PDF's to print directly to a printer.
I'm lead to believe that Acrobat supports "Direct Printing" to certain printers but it requires some Java code to make it work!!???
If we are printing a report from a NTWS application, displaying it on screen is probably desirable.
We quite often end up printing labels for parcels etc. and when users are printing large numbers, they often comment that it would be good if the label "went straight to the printer" rather than them having to preview things on screen first, before printing them.
A search in google suggests that there are ways to get it to work, but I couldn't find anything that really tells me how to do it, and certainly not in a Nettalk server?
Any thoughts?
Regards,
Neil.
I'm lead to believe that Acrobat supports "Direct Printing" to certain printers but it requires some Java code to make it work!!???
If we are printing a report from a NTWS application, displaying it on screen is probably desirable.
We quite often end up printing labels for parcels etc. and when users are printing large numbers, they often comment that it would be good if the label "went straight to the printer" rather than them having to preview things on screen first, before printing them.
A search in google suggests that there are ways to get it to work, but I couldn't find anything that really tells me how to do it, and certainly not in a Nettalk server?
Any thoughts?
Regards,
Neil.
13
Web Server - Ask For Help / Re: Can't log back in after session timeout
« on: July 09, 2014, 08:34:58 AM »
Thanks Bruce, I'll take you up on that.
Speak to you tomorrow.
Regards,
Neil.
Speak to you tomorrow.
Regards,
Neil.
14
Web Server - Ask For Help / Can't log back in after session timeout
« on: July 09, 2014, 01:38:29 AM »
I have an issue using a standard login window, created by the net talk wizard.
When I access https://orders.mydomain.co.uk I'm presented with my login screen, and I can login as expected, and I can access other browses and forms.
Assuming that my browser is sat viewing a browse, if I then leave my session to timeout, I'm presented with my login screen again, as I would expect, but the address in my browser is set to https://orders.mydomain.co.uk/mybrowseprocedure. I can enter the correct login details, press login, and the values in the form are cleared, but I don't appear to get logged back in. I have to remove the extra "mybrowseprocedure" from the address bar before I can login again.
Have is missed something within the NetTalk configuration?
Regards,
Neil.
When I access https://orders.mydomain.co.uk I'm presented with my login screen, and I can login as expected, and I can access other browses and forms.
Assuming that my browser is sat viewing a browse, if I then leave my session to timeout, I'm presented with my login screen again, as I would expect, but the address in my browser is set to https://orders.mydomain.co.uk/mybrowseprocedure. I can enter the correct login details, press login, and the values in the form are cleared, but I don't appear to get logged back in. I have to remove the extra "mybrowseprocedure" from the address bar before I can login again.
Have is missed something within the NetTalk configuration?
Regards,
Neil.
15
Web Server - Ask For Help / Re: Best embed to fill IMMD table for NetWeb Browse?
« on: May 01, 2014, 03:09:43 AM »
Thanks Alberto,
I've tested that, and it seems to work fine for me
Regards,
Neil.
Hi Neil,
I use "After Setting Browse Behavior Settings"
I've tested that, and it seems to work fine for me
Regards,
Neil.