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.


Messages - DonRidley

Pages: 1 2 3 [4] 5 6 ... 48
46
Web Server - Ask For Help / Re: How to select a tab when in change stage
« on: December 19, 2020, 03:44:06 AM »
I have used the button’s URL value as a condition in forms.  Might be an option for you.

If p_web.GetValue(‘insert_btn’) = ‘insert’
    !Do stuff
Elsif p_web.GetValue(‘change_btn’) = ‘change’
    !Do Stuff
End

Or pass a custom value from the menu:

If p_web.GetValue(‘FromMenu’) = 1
    !Do stuff
End

47
Web Server - Ask For Help / Re: Webinar on developing PWA apps with NT 11
« on: December 17, 2020, 03:21:57 AM »
Here's a good articlae on PWA's :

https://developers.google.com/web/updates/2015/12/getting-started-pwa

Basically a PWA must:

  • Be secure.  Ie., HTTPS
  • Have a manifest.json file
  • Have a serviceworker.js file

Fortunitely, NetTalk makes creating the files very easy.

PWA's are really not very complicated.  Just a website with a few extra features.

They work very well on most browsers on Windows.  Unfortunitely, some PWA features are hit and miss on Apple's browsers, especially running on iOS.  This is Apple's fault, not the PWA's.

Anyway, good luck with your project.  There's tons of info out there about PWA's.


48
Web Server - Ask For Help / Re: Multisite Problems
« on: December 17, 2020, 03:13:54 AM »
That is correct.

I will do a webinar on spiltting an existing NetTalk web server "single EXE" application into a multi-dll application. 

I will then demonstrate using that multi-dll app in a multi-site host server.

The multi-site host is actually the easy part.

I will say this about multi-dll applicatins, I wish I would have went that route a long time ago.

It makes so many things easier.  The biggest benefit for me is the ability to make small changes and implementing those changes without worrying about affecting other parts of the app.  Also, the turn around time from something being an idea to being functional is faster as you can compile the smaller app files much faster.

So yeah, look for a webinar on it in January.  I'll get on the schedule as soon as I have everything ready.  I want to make extensive notes on potential pitfalls to avoid and thoroughly document every step.  I'll also provide a demo app. Demo will be in C11/NT12 so anyone who wants the demo will have to have those.

Anyway, I'm looking forward to the webinar and I hope I can help a few folks out.

49
Web Server - Ask For Help / Re: Multisite Problems
« on: December 13, 2020, 06:08:21 PM »
Hard to say.

You can improve your GPF report with a modification to your RED file.

See:

https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs/188

Be sure to set the buid configuration to debug and set your compiler to incude the line numbers.

Then post your GPF log.

Don

50
Web Server - Ask For Help / Re: XHTML - AsciiToUTF and nbsp
« on: November 22, 2020, 06:19:22 PM »
  is an Named Character Reference for a non-breaking space.  It is one of many HTML entities.

Try   in its place. 

  is a Numeric Character Reference (decimal) for a non-breaking space.  Interestingly, there is a HEX version as well:   

Your form should display properly with   .

See ya.

Don

51
Web Server - Ask For Help / Re: NT12 and Clarion Version?
« on: November 21, 2020, 07:47:59 AM »
The FOR Webserver and FOR Webhandler are local extensions.

For example, go to the local extensions for the Webserver procedure.  Click insert.  Find the FOR Webserver extension and insert it.  I cannot remember if it's a NetTalk or SecWin extension but I'm pretty sure it's under SecWin.

I don't think there are examples yet for the SecWin integration as NT12's official launch is not until December 11th.  But I'm sure Bruce will have something ready by that time.

See ya and good luck.

52
You will have to modify line 3332 of NetWeb.clw and add orof 'button' to allow a button to exist in the header.

You can see a demo of it here:

https://testserver.leoscript.com

Login is demo and demo

Be sure to put the site in “mobile” mode and check out the menu.


53
Hello Brad,

What has helped me in these situations is to use the browser's developer tools to inspect the requests as each browse and form opens and closes.

Each request has a wealth of information particularly the URL data in each request.  Each data parameter can be accessed/tested in a browse or form with p_web.GetValue('somedata').

Once you understand what the browse or form is expecting to receive, you'll understand what you need to do to get the browse or form to do what you want.

For eample, a browse behaves in one way if a form is cancelled versus if the form was saved. 

There are ways to force a browse refresh when the browse/form gains focus.

As soon as I get to my development machine, I'll see if I can dig up some examples.

See ya,

Don

54
Web Server - Ask For Help / Re: Manually saving form contents
« on: October 10, 2020, 11:01:46 AM »
I think I understand what you are doing.

If you can, post a screenshot of the form in question.

Thanks.

55
Web Server - Ask For Help / Re: App GPF after NT 11 Install
« on: September 12, 2020, 05:50:06 AM »
Check out this article at ClarionHub about improving the call stack in your GPF report:

https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs/188

56
Web Server - Ask For Help / Re: Unknown Procedure Label, Draw
« on: September 11, 2020, 01:23:07 AM »
Re-download NT11.44 and install.  I think Bruce fixed it.

Otherwise

Line 2099 in NetWeba.Tpw
From %vc.Draw() to %vc.DrawGraph()

57
Web Server - Ask For Help / Re: Reorder
« on: August 10, 2020, 01:18:45 AM »
I think that is pretty darn cool!  Thanks for sharing!!

Don

58
Web Server - Ask For Help / Re: Share on Social Media
« on: June 29, 2020, 05:31:37 AM »
First thoughts are to connect to FB via OAuth and POST the content with a web client.

https://www.capesoft.com/docs/NetTalk11/NetTalkOAuth.Htm#Facebook


59
Web Server - Ask For Help / Re: NT and TLS 1.2
« on: June 26, 2020, 08:32:50 AM »
NT 11 supports up to 1.3.

You can set the .SSLMethod property in the ThisWebServer.Open method in the WebServer procedure.
Possible values are;

NET:SSLMethodTLS         ! Default, TLS 1.0 or higher
NET:SSLMethodTLS_PCI     ! TLS 1.1 or higher ; from NT 11.26 means TLS 1.2 or higher.
NET:SSLMethodTLSv1       ! TLS 1.0 only
NET:SSLMethodTLSv1_1     ! TLS 1.1 only 
NET:SSLMethodTLSv1_2     ! TLS 1.2 only
NET:SSLMethodTLSv1_3     ! TLS 1.3 only
NET:SSLMethodTLS_MIN1_1  ! TLS 1.1 or higher
NET:SSLMethodTLS_MIN1_2  ! TLS 1.2 or higher
NET:SSLMethodTLS_MIN1_3  ! TLS 1.3 or higher
NET:SSLMethodMaxOnly     ! highest level of TLS only (currently TLS 1.3)

60
Web Server - Ask For Help / Re: ViewOnly but not all fields
« on: June 26, 2020, 06:32:11 AM »
Bruce, I dont understand why Im a lier.

I don't think he was saying you are a liar.  He was saying your "view only" form was "lying."  It's a view only form but not really view only as it performs actions based on conditions. 

Don

Pages: 1 2 3 [4] 5 6 ... 48