NetTalk Central

Show Posts

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.


Topics - Neil Porter

Pages: [1] 2 3
1
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.

2
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.

3
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

4
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.

5
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.

6
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.

7
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.

8
I use an SQL backend, so I quite often use a temporary table issue an SQL query on the fly, and then display the results on screen.

With the advent in NT8 and the export button, my users are getting very excited about being able to download all sorts or data, and I can see that I'm going to be generating lots of netweb browses like this so I just wanted to make sure that I'm doing things "Correctly"  ;)

I quite often embed my browse within a form, to allow my users to set a date range, and other filters, so I tend to remove the existing contents of my temporary file, and re-populate it in the Refresh::MyBrowseDetails  Routine in the form.

This seems to work OK, but I'm wondering if there is an embed point within the Browse procedure itself that I could utilise so that it doesn't matter where my browse gets called from, it will always populate the data.

There look to be quite a few candidate embeds, but I wondered if anyone could point me in the right direction?

Regards,

Neil.

9
Web Server - Ask For Help / Export Data being Truncated to 50 Chars
« on: April 30, 2014, 02:44:29 AM »
I'm using the new Export button feature, which is great, but I have quite a long address field that I need to export, and it is being truncated to 50 chars in the export xml file.

Is there a setting that I'm missing?

Not sure if it makes any difference, but this is a display field that is made up of several other fields concatenated together.

Regards,

Neil.

10
Web Server - Ask For Help / Help with Form / Browse Layout
« on: April 15, 2014, 04:19:34 AM »
I have created a netwebform with a newwebbrowse and a date range embedded within it. (See attached screen grab)

I have 2 issues with the layout that I don't like, and I wonder if someone can help me out.

1) the date range at the top. If I tick to span Prompt/value/comment my values don't align. If I don't tick to span, the fields get spread out across the screen because my browse is so wide.
2) I'd like to have my print button next to the Export button. There is an option in the Browse, Form tab that mentions a print button, but I can't get it to display. The print button that shows on the screen grab is actually populated on my form.

As an aside, I'd also like to be able to combine the delivery address lines into 1 column, but that's in a separate post.

Any advice would be very welcome,

Regards,

Neil.



[attachment deleted by admin]

11
I have a browse where I display an order date, order no, product code etc. and 4 address lines.

My browse is starting to get a little wide, so I thought that it might be cool to try and combine my 4 address lines into a single column.

I've found example 50, which seems to allow me to span columns, but I don't think that's what I'm trying to do really.

Is there another example that I'm missing, or can someone point me in the correct direction please.

Regards,

Neil.

12
Web Server - Ask For Help / Example Web42 broken in NT8?
« on: March 24, 2014, 06:23:57 AM »
I've just tried to convert one of my smaller NT6 apps to NT8 just to dip a toe into the water.

The app is a effectively a small soap server.

The app keeps crashing when it tries to serve xml files.

The code in question is this:

  ! finally send result
  p_web.ParseHTML(Xml.XmlData,1,Xml.XmlDataLen,Net:NoHeader)

I understand that ParseHTML is now expecting to be passed a StringTheory object so i've changed the code to be:

 Packet.append(xml.XmlData)
 p_web.ParseHTML(packet,1,0,Net:NoHeader)

The packet.append statement now crashes

I'm seeing this in Example 42 as well, and wondered if anyone else is seeing this, or has found a work around?

Regards,

Neil.

13
Web Server - Ask For Help / Secwin and NTWS. Your opinion?
« on: February 18, 2014, 05:43:09 AM »
Is anyone using Secwin Access control successfully in a live environment?

I have one application that I have deployed using an MSSQL backend, and the In-Memory driver for the Secwin tables that are imported into the dictionary.

I'm a huge fan of the NTWS and I desperately want the Secwin integration to work, but I'm seeing all sorts of pretty random things happening. It seems to me as though changes that are being made to users, and permissions, just aren't reliably being saved. I can tick a few boxes to set access permissions, or even to assign a user to a group, and the next time I go back into that screen, those changes are lost, or worse, a different tick box to the one I selected is checked.

A week ago my users suddenly reported that they couldn't log into the system. Neither could I, even with the original default user. I couldn't reset passwords or anything. The only way I could get back into the system was to recover all of the sec win tables from a previous days backup.

Currently, I'm running with NT 6.51 and Secwin 6.27, so I can see there are some updates out there, but it's hard to find out if they will help in this case because the NT 6 history stops at version 6.47.

I'm thinking it's about time that I supported all of Bruce's hard work, and upgraded to NT 7 or even NT8 now, but I do need some form of reliable access control, and it would make me feel a lot happier if I knew there were other people out there that have managed to get it all working reliably, particularly with the MSSQL backend.

Regards,

Neil.

14
Web Server - Ask For Help / SSL - Any advice or gotchas?
« on: December 02, 2013, 03:31:04 AM »
I've just been asked by one of my customers to convert an existing NTWS webserver to use an SSL certificate.

They would like me to obtain the certificate for the site on their behalf.

Is there anything I should be aware of before I dive into this?

I've found an article by Bruce about "Levels of SSL" which looked quite informative, and there is a whole section in the docs about "building secure sites". I'm hoping that it will be as simple as following the steps suggested by Bruce, but whilst I'm familiar with Code signing my own applications, I've never done anything with SSL, and wondered if there was anything that was likely to bite me?

I have used Comodo for my own code signing certificates, but I don't have a strong preference for SSL, as I won't be paying for it  ;)

Regards,

Neil.

15
Web Server - Ask For Help / NT Template 6.54, but NT Object reports 6.52
« on: October 15, 2013, 04:21:57 AM »
I'm trying to move one of my NT webservers from C8 to C9

As part of this I've had to update some of my templates, secwin and nettalk included.

No matter what I do, when I run my webserver, I get a message saying that my NT server version is 6.52 and my web folder is 6.54

I've searched all of my code, and everything reports 6.54

I've checked my clanet.dll and that reports a date of 8 October 2013, version 6.54

I've deleted my clw files, my obj folder, etc. still no joy.

I run using debug view and the /netall switch, and it reports that Nettalk template is 6.54 but the nettalk object is 6.52!!

where on earth do I track this down?

Has anyone got any ideas? This is driving me nuts :-)

Regards,

Neil.

Pages: [1] 2 3