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 - Niels Larsen

Pages: [1] 2 3 ... 11
1
Web Server - Ask For Help / xHTML routines on a NetWebPage
« on: March 14, 2025, 04:49:11 AM »
Hi Bruce

On my index page I have two routines (after body) on the xHTML tab.
One with a condition and one without.

The problem is that the one with a condition of has direct impact on the second one.
Only applies if the one with conditions comes first.

I think that is wrong.

Regards Niels

2
Web Server - Ask For Help / Button on header
« on: March 14, 2025, 01:15:42 AM »
Hi
I'm trying to place a button on the header on a form.
Allow xHTML is on
Allow UNSAFE xHTML is on
I can place a button without any problems but when I add the attribute onclick="onclick="$(''.help-click'').click()"" it fails. Does it have anything to do with the fact that "onclick" is SUPER UNSAFE?

Example attached.

Regards Niels

3
Web Server - Ask For Help / Broken browse
« on: March 03, 2025, 11:41:21 PM »
Hi
I have a browse with a form. On the form there is a browse with a child browse. After editing the child the browse breaks (buttons disabled).
Example attached.
I am aware that in my example there are no filters on any of the browsers.

Any ideas?

Regards Niels

4
Web Server - Ask For Help / NTWS behaving strangely
« on: January 29, 2025, 01:40:28 AM »
I?m currently experiencing something very mysterious with a larger NTWS app I?ve developed.
Several of my forms are behaving strangely. When I press ?Insert? in the browser, the form opens as it should. Then I press ?Cancel?.
When I repeat this exercise, the process starts to take longer and longer. When I get to the fourth time, it takes several seconds to open the form - the fifth time over 10 seconds.
Chrome and Edge go crazy in processor usage - up to 100%.
This happens in several forms. Other smaller forms work fine.
My first thought was Antivirus but I?ve moved the app to another PC and it gives the same result.
The thread number never goes above 5 so I don?t think it?s due to a hanging thread.
The only thing I can think of that I?ve changed is updating NTWS from 14.28 to 14.29.

UPDATE: Now I've tried downgrading to 14.28 but it makes no difference. So it must be something I?ve done?

I?m a bit lost. Any ideas?

Regards Niels

5
Web Server - Ask For Help / Error in template - I guess
« on: December 08, 2024, 01:52:27 AM »
Hi Bruce

The situation is that I have two string fields on a form with the same field, but of course with different equates. (Use it for different lookup options)
The problem is that in Validate::Field "lookupfield" is set to the equate but in the Afterlookup routine the name of the field is used in the Case. So if the equate and field name are not the same the code in Afterlookup is never called.
I've made a fix myself that works, but if that's enough...

Regards Niels


6
Web Server - Ask For Help / Default Security
« on: November 06, 2024, 03:25:52 AM »
The following setup does not work - for me...

I have set the "User must be locked in" on the webserver template. On the form "User must be locked in" is set to default.
If i try to open the form nothing happens. If I change "User must be locked in" on the form to yes it all works.
Maybe a template error or?

Attached an example. After login try to click the test menu.

/Niels

7
Web Server - Ask For Help / Tree Control
« on: October 14, 2024, 05:45:40 AM »
Hi

I have a tree control on a form. If a node is clicked I can capture the id from GetValue('row') - no problem.
The question is how to select (highlight) a node when initializing the tree.

Regards Niels

8
Hi Bruce

When I want to "Send Click to Server" the server code ends in a Orphaned Embeds, and is Of cause not generated.
Maybe I'm doing something wrong....
Example attached.

/Niels

9
Web Server - Ask For Help / API documentation
« on: March 28, 2024, 01:47:28 AM »
Hi Bruce

Is it possible to use the Page Name in the documentation of a method instead of the procedure name.
I ask because I use Page Name to keep track of different versions of the "same" method - of course with different procedure names.

Regards Niels

10
Hi

I'm trying to use a group with a queue as a parameter but can't compile the app. It looks like the group is being treated as a queue.
I have attached an example showing my challenge.
Can someone help me to understand.

Regards Niels


11
Web Server - Ask For Help / Bearer authentication in a webservice - how?
« on: February 26, 2024, 07:54:58 AM »
Hi

I have been given the task of coding an api where the access control is Bearer. Is there anyone who has done something similar and would like to share how it can be attacked.
As I see it, there are two tasks. One where I have to generate a token (from Account id, Client ID and a secret) which must be kept alive for a period of time and then the actual validation of the token.

Regards Niels

12
Web Server - Ask For Help / Websocket - javascript
« on: February 11, 2024, 11:01:15 PM »
Hi Bruce

I would like to run a javascript when a host value is changed via websocket. In the template, there is room for javascript on the bottom line, but it doesn't really seem to have any effect. Am I thinking wrong or...

Regards Niels

13
Web Server - Ask For Help / Forms behave strangely in version 14.17
« on: February 09, 2024, 11:17:36 AM »
Hi Bruce

I just installed version 14.17.
But something is wrong. If I take the example "BasicBrowseAndForm (1)" - press insert in the browser - the form appears but immediately disappears again.
I experience something similar in my own apps. Here, I may be allowed to type in the first field, but when I move on to the next field, the form closes.
Am I the only one experiencing this?

Regards Niels

14
Web Server - Ask For Help / Email from browse menu button
« on: January 25, 2024, 03:35:30 PM »
Hi

What is the best way to send an email ( or some other Clarion code) via a browse dropdown menu

regards NielsB

15
Hi Bruce

I would appreciate a way to refresh a browse after an event in a browse menu.
What do you think?

Regards Niels

Pages: [1] 2 3 ... 11