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

Pages: 1 [2] 3 4 ... 7
16
Web Server - Ask For Help / Field validation on desktop vs mobile
« on: September 08, 2013, 11:17:57 PM »
We have a very specific login screen on one of our NT7 apps.  As well as the username and password on the login screen, there is a drop down box under those for the user to choose the company before they do a 'proper' login to the system.

Now, the list of companies that each user can select from is actually dependent on their login, and for this reason, we do a quick login check as soon as the user enters their password and the password field loses focus.

We accomplish this by putting some embed code in the LOC:Password Field -> Validate::LOC:Password Routine.

It works beautifully on the desktop versions of the site.  The embedded code gets called every time the user clicks anywhere else on the screen, including if they click on the drop down.  The validation code builds the drop down contents quickly based on their login name/password.

However - it doesn't ALWAYS work on the mobile version of the site there is about a 50/50 chance that the validation code does not get called.  I am assuming that this is because NT/jQuery handle taps on mobile screens differently to clicks/pressing the tab key on the desktop screen?

What is the best point to call the validation routines when the Password field loses focus on the mobile version of the site?

17
Hey all,

Just upgraded to 7.17 today and began work on an old NT6 project.

Got most of the other update issues out of the way, but for some strange reason, the Locator on my main NetWebBrowse just refuses to work.  Worked fine on NT6, but in 7 whenever I type in anything into the Locator field, it returns zero records.

The browse is only looking at about 7 columns from an MSSQL table that has about a thousand rows.

No matter which column I click to locate, it doesn't matter if I type in 1 character or the entire name in perfect case - no rows show up at all.

Any idea what could be causing this?

Thanks,
Devan

18
As mentioned in a previous post, we've just upgraded a site from 6.x to 7.10 and the site consists of a very large Wizard form with 10 pages.

Lots of validation within the form, but it seems that the validation calls are not being made anywhere in the form at the moment.  Have I missed something with the conversion across?

EDIT: I changed the form to 'Tab' style and the validations work fine.  Changed back to 'Wizard' and nothing... :(

19
Web Server - Ask For Help / New File Upload issue in 7.1x
« on: June 30, 2013, 10:42:15 PM »
Hey Bruce and Co.

I just upgraded one of our sites to 7.10 today and while working on it, I noticed a strange (possible) bug with the new HTML5 upload controls.

Basically, if you specify more than one File Upload field on a form, the first one renders fine, but the second and subsequent ones on the page always have the [Start] [Clear] [Cancel] buttons after the [Add File] button.

I assume these buttons are only for multiple file uploads, but I have ensure that '1 file only' is checked in all the field parameters.  The buttons don't actually appear to DO anything, so I am assuming it is just aesthetic, but nevertheless, it is confusing my client no end! :)

NB: We have several upload buttons on a 10 page wizard form, and even on the other wizard pages, the buttons have the extras on them.  Only the first button on the first wizard page just has the [Add File] option as I require.

Cheers,
Devan

20
Web Server - Ask For Help / NetTalk as a service and ODBC drivers
« on: June 11, 2013, 04:40:56 PM »
Hey all,

We've got a web service here written in NetTalk that uses a combination of TPS file and CONNX ODBC drivers to get data from a legacy system.

Client wants this web app to run as a service on their main server so that it is still available after reboots etc.  All fine except that when running as a service, the ODBC links just do not work at all.  No data found.  Running the app standalone works absolutely fine.  I set up the service with the same credentials as I use on the server (when testing standalone OK) but still no dice.  I've made sure the ODBC DSN is a System DSN and not a User DSN.  TPS file access works fine.  Just the ODBC ones that break.

Any tips for getting service based NetTalk sites to communicate nicely via ODBC ?

Thanks,
Devan

21
Hey all - just a general question to those of you using MySQL databases with NetTalk & Clarion.

We've been basically using MyODBC version 3 for a while here, as we had found the early releases of MyODBC 5.x to be problematic.  Lately though, we have been using 5.22 on a couple of projects and it seems to be working fine.  In fact, we HAD to start using 5.x because it appears that 3.x has issues with 64 bit machines.

We have one particular site that is a couple of years old, that is running MyODBC 3.11.  That site is starting to experience a lot of constant GPF's, and we installed GPFReporter on that site's code, and it *appears* to be the myodbc3.dll file that is causing the crashes.

I think we will have to upgrade that site to MyODBC 5.22 as well, but I just wanted to hear what other people's experience has been with MyODBC?

Note: Oracle still releases 3.x and 5.x side by side.

Thanks,
Devan

22
Web Server - Ask For Help / Multiple lines on a column in a browse?
« on: May 23, 2013, 10:16:38 PM »
In NT7, is it possible to show more than one line in a browse column?

For instance, I have a column in which I would like to show the Customer Name in bold, the underneath that, the category in italics.  In the browse procedure, column property, I place in the 'Display' field: 

'<strong>' & CUS:Name & '</strong><br /><em>' & CUS:Category & '</em>'

It shows me the customer name bolded, but not the second line.

I even have a graphic in column 1 which makes the row heights much taller than one line, but still no show.

What is the trick to achieving this?

Thanks,
Devan

23
Web Server - Ask For Help / Display image on page after uploading?
« on: May 23, 2013, 09:23:40 PM »
Hi all,

Just wondering what would be the easiest way to display an image on a form after the user has uploaded it?

I am using NT7's new file upload, which begins uploading the file as soon as the user selects it.  I'd like to be able to immediately display the image itself below the prompt after the upload is completed.

How do I refresh the 'Display' field for the image?  I tried entering the field equate of the 'Display' field under Client-Side/Refresh on the File Upload field, but it doesn't seem to redraw it?

I am also considering having a 'Delete Image' button underneath it which will delete the image and refresh the page to remove the image from the screen.

Thanks,
Devan

24
Web Server - Ask For Help / NT7 TaskPanel formatting oddities
« on: May 23, 2013, 01:05:47 AM »
Ok - I've bitten the bullet and upgraded my development environment to NT7 now.

Just compiled a new site that we were halfway working through, which uses the TaskPanel menu on the left hand side, and immediately noticed a couple of things:

The heading on the top of each task panel section (e.g. 'Home', 'Browse' etc. are overlapping the expand/contract icons on some themes - Aristo being one of the themes affected.  Not sure how to fix this.

Also, I've noticed that my login screen has now moved to the left of the screen, whereas previously in NT6 it was in the centre.  I checked the form CSS and it is 'nt-fixed-center' so not sure why it has moved over in 7?

I'll try and attach a screenshot which gives more info.

Cheers,
Devan


[attachment deleted by admin]

25
Web Server - Ask For Help / SSL won't serve up pages?!?
« on: May 21, 2013, 01:08:53 AM »
Hey all,

Just dabbling in my first SSL server for a project.

Using NetTalk 6.51.  I've applied for a wildcard certificate from GoDaddy.  All went well.  I downloaded the CRT file and copied the KEY file into the app/certificates folder.   I turned off the 'Supress Error Messages'.  I was initially getting the error 65 because my certificate names didn't match, but I fixed that so I am not getting any errors coming up.

The NT server starts up OK (no errors) but when I try and test https://localhost, I get nothing.  The NT server screen shows no traffic and my browsers time out.  I've checked the DebugView logs etc. but no errors are logged.  I've made sure the 4 SSL DLL files are copied into this folder as well.

I've tried a couple of different browsers, and running the server app on two different machines.  Same results all around.

I've run Fiddler and am getting '502' errors when the browser is trying to connect to the local NT server.

I turn OFF the SSL checkbox and access the NT app with just http://localhost and it WORKS!

Just won't deliver anything via SSL and not telling me anything useful that points me in the right direction to try and fix it.

Help!

Thanks,
Devan

26
Hi all,

We are scoping out a project whereby we need to have a NetTalk procedure that will be the ACTION procedure for third party web forms where we might not know the field layouts.

I need to be able to get the procedure to parse through all the POSTed fields to isolate the variable names so that I can cherry pick only certain field values that are to be saved to a data file.

Are there any shortcuts to this, other than parsing through the header of the request?

Thanks,
Devan

27
Hey all,

I was chatting to a colleague yesterday who has developed a web based system for a mutual client using Microsoft's Azure Cloud.  It is a nice web system with browses/forms etc. very similar to a NetTalk app, but one feature he showed off that he was very proud of, and that I found intriguing, was that the .NET app provided 'push' updates to the browses on different terminals.

For instance, if the operator at Terminal 'A' entered a new record into a browse screen, within seconds, operators on terminal 'B' and 'C' who had that browse open would experience an automatic refresh of the browse showing the new record.

My colleague was understandably cagey about giving away too much detail, but there is apparently some sort of add on with the Microsoft Azure cloud (where the web app is hosted) that provides this facility.

I know that 'server push' is not a standard paradigm in the web world, but I was wondering if we could replicate this functionality in NetTalk in some way?  Perhaps even a client side 'silent poll' on a periodic basis that would redraw the browse if there was a change?

28
Web Server - Ask For Help / Using Net:f:filename.html
« on: March 17, 2013, 10:48:04 PM »
Hey all,

We've modified a couple of our portals that we have created for clients to use the <!-- Net:f:somefile.html --> to serve up static files in certain sections of a NetWebServer - e.g. for displaying a maintenance or a backup notice at the header of every web page served etc.

The idea behind extracting these snippets to an external file was so that we do not have to take down the server to change these notices, plus our clients can make changes to these snippets themselves to customise the messages without involving us.

Works great except it appears that NetWebServer LOCKS these htm files for the duration it is running, meaning we have to down the server to make changes to these files anyhow, defeating the purpose.

Is there any way we can get NetTalk NOT to lock these files unless used by a process?  A suggestion for a future upgrade perhaps?  Or is there another way around this problem?

Thanks,
Devan

29
E-Mail - Ask For Help / Send Emails using TLS - the bare bones
« on: March 12, 2013, 05:12:31 AM »
Hi all,

If an email transport service specifies that email needs to be sent using TLS, but they do not mention SSL, does this mean I can leave the SSL property at 0 and just set SecureEmailStartTLS = 1?

What are the 'bare bones' minimum settings that I will need to set in order to send via this service?  Do I need to set up all the SSLCertificateOptions properties as per the SSL example, or can I get away without doing so?

Note: The service is Amazon SES

Thanks!
Devan

30
Hey all,

We are getting to the stage where we have quite a few NetTalk apps out in the wild now, with some of them being quite mission critical.  As is the case with software, things do tend to fail, and we are getting more and more calls from clients when their webservers crash.  Some are hosted 'in house' on their own server which we have remote access to, and some are hosted by us on Amazon EC2 instances.

I want to be a bit more proactive about this, and set up a monitoring system that can monitor all the sites that we have developed to alert us when a site goes 'offline', i.e. stops responding to HTTP requests.

Some of the online web monitoring services I have seen are quite expensive.  Anyone use a low cost or free monitoring system that they could recommend?

Here is the kicker - Anyone write a Clarion app using NetTalk WebClient that sits in the background and quietly polls a list of sites for a valid 'heartbeat'?  I am thinking that we will have to roll our own system here, but if anyone else has already done this and willing to share, it will save us from reinventing the wheel...

Thanks,
Devan

Pages: 1 [2] 3 4 ... 7