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

Pages: [1] 2 3 ... 27
1
Web Server - Ask For Help / Re: Sequence of includes in the header
« on: August 04, 2020, 12:06:06 AM »
Hi Bruce,

You are absolutely right! <BG>

Thanks
Peter

2
Web Server - Ask For Help / Sequence of includes in the header
« on: August 03, 2020, 10:39:00 PM »
Hi,

I want to use a Bootstrap function on a specific page so I'm adding  a link to the BS file(s) in SetCustomHTMLHeaders. However, the files are included before the JQuery files that NT uses - no matter if I set the header before or after the parent call. And since the bs-function in question is dependent on some jQuery js I get an error ("x is not a function").

So my question is: how can I add stuff to the header after what is generated by NT?

Peter

3
Web Server - Ask For Help / Re: OT: Secwin 7??
« on: July 15, 2020, 07:36:26 AM »
Bruce has mentioned that it’ll require NT12. And the two will be released together. Soon.

However, there’s no telling if that means SV-soon, CS-soon or just soon  ;)

Peter

4
Web Server - Ask For Help / Re: Timer stopped working - RESOLVED
« on: July 07, 2020, 12:48:14 AM »
After Vinnie posted I took another look realizing that it must be something I did not see.

As it turns out the app was originally written in NT10 and recently moved to 11. In NT10 the second parameter on the timer setting ("Refresh") was being ignored if it wasn't filled. But NT11 'agressively' generates this code:

Quote
p_web.SetOption(loc:options,'timerRefresh','disabled')

So, by selecting the Refresh option First|Current|Last the timer is now working as expected.

Thank you.
Peter

5
Web Server - Ask For Help / Timer stopped working
« on: July 06, 2020, 07:03:29 AM »
A customer notified me today that the timer (on a browse) doesn’t work any longer and I can confirm. Not sure when/in which version it stopped working, though. I’m currently using 11.37

Peter

6
There's also this

Peter

7
Web Server - Ask For Help / Serve file - download or open?
« on: June 08, 2020, 12:22:26 AM »
I have a form with a start button and a progress control. The start button calls a source procedure that creates an xml file using the xCell class in xFiles. The file is being generated and the progress is being updated - and when the source proc is finished the progress changes to a download link. So far so good.

Now, if I (left) click the download link the raw xml file opens in the browser, but if I right click the download link and save the file, I can then (left) click the file and it opens in Excel (which is the desired behavior).

I've studied (and copied) the generated code in the ExportToExcel routine but I must be missing something. I would like the file to open in Excel when the download link is clicked. But how?

Peter

8
Web Server - Ask For Help / Re: hide menu at form
« on: May 21, 2020, 12:56:40 AM »
‘<!— net:myheader —>’
(that’ll be two dashes after the ! and before the >)

Peter

9
Web Server - Ask For Help / Re: css in divs
« on: May 15, 2020, 07:57:07 AM »
Hi Rene,

I had a similar situation where I wanted to change the background color for the titlebar on one particular netwebform - and only that one form! I could also not find a template prompt that would let me do that so I asked Bruce on the NTUG webinar where he showed a nice 'trick' to handle that situation. The recording is not yet up on the CS site but you can watch it on Youtube here: https://www.youtube.com/watch?v=FEyrEHsNPtw
It starts around 54:00

HTH
Peter

10
Web Server - Ask For Help / Re: Treeview
« on: May 07, 2020, 07:26:46 AM »
Hi Niels,

Did this ever happen?

Peter

11
Somehow I got my web folder messed-up. All is fine now.

Peter

12
Hi Jane,

Oh yeah, I've been there too  ;)

But not this time, though.

Thanks anyway - and stay safe, especially where you are.
Peter

13
In two newly created web apps I've included a couple of Net:s tags ( <!-- Net:s:mySessionVar --> ) in the PageHeaderTag and IndexPage procedures - just like I've done in many other apps.

The problem is that nothing displays and I know for sure that they hold some value. There's no sign of the tag nor the content in the generated source. Strangely, Net:d:year and Net:f:myFile does work.

Has anyone else seen this and what could be the cause of this?

Peter
NT11.35

14
Web Server - Ask For Help / Re: Facial Recognition template
« on: April 26, 2020, 07:36:02 AM »
Hi Jason,

I'm not sure what Kevin is up to these days.

Your project sounds very interesting. Please keep us posted if you manage to get something working.

Peter

15
Web Server - Ask For Help / Re: Facial Recognition template
« on: April 23, 2020, 10:01:30 PM »
Jason,

Not exactly what you're after but in late 2018 Kevin showcased some interesting stuff that might interest you. See ClarionLive Episodes #480 and #482.

Peter

Pages: [1] 2 3 ... 27