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 - Rene Simons

Pages: [1] 2 3 ... 13
1
Hi,

On feb 8, 2024, tweakers.net published  the following article (translated using Google Translate):
This might be of interest for anyone creating PWA's for use in the EU.

Apple appears to no longer support PWAs on iOS in iOS 17.4 for EU users
It appears that Apple no longer fully supports progressive web apps, or PWAs, within iOS. The problems only seem to affect users within the European Union.

PWAs are apps built with technologies for the web, but provide a similar experience to a platform-specific app. This means, for example, that apps get their own icon on the home screen, often open in full screen, can offer their own UI and can be distributed via the App Store.

However, in a beta of iOS 17.4, which was released earlier this month, that process has changed considerably. Already in the first beta version of the operating system, it was noticed that PWAs no longer open at the top level, but in Safari. In fact, they are a kind of shortcuts, said James Moore of the Open Web Advocacy last week.

Initially it was suspected that it was a bug, but there was no solution from Apple. There is now a second beta of iOS 17.4, in which the problem still occurs. Mysk, a company that specializes in app development for iOS, also notes that a pop-up has even been added, stating that the app will now open in the default browser. This does not seem to be a mistake, but a conscious choice on Apple's part. The company has not yet said anything publicly about this.

Mysk further emphasizes that only users within the European Union are affected. This may have to do with the European legislation Digital Markets Act (DMA), which Apple must comply with from March 7, Mysk researchers told The Register. Until now, only Safari supported PWAs on iOS, but under the upcoming law that is not allowed. Then PWAs must be able to run in all browsers, or in no browser at all.

"The browser had to create a component called 'service worker' to run PWAs," the Mysk researchers said. According to them, it appears that Apple has not been able to find a way for other browsers to create their own service workers. "The only way to comply with the DMA before the deadline is to disable PWAs in all browsers. Now all browsers are equal." Apple has not yet responded and was not immediately available for comment.


Cheers,
Rene Simons

2
Hello everybody,

I have a static page with dynamic content.
The page name is index.html and initially it is called without any parameters.
One  menu-option  (not NT) has an option which "calls" the page itself, this time WITH parameters.
Like:  /index.html?a=lng&b=en

I do not use the NT menu, because that would interfere too much with the "staticness" of the page.

As Bruce pointed out, I can retrieve the parameters in webhandler in the _sendfile method, and do some
processing.
Retrieving the parameters and the processing are successful. I checked that using trace.
After that I am a bit lost, because the index.html page is not refreshed after that. It is not even shown in the browser.
I have tried to use p_web.redirect(<with the link>) after the processing, but that did not work.

I hope someone can help me here.

Kind regards,
Ren? Simons

3
Web Server - Ask For Help / Static index.html and parameters
« on: December 10, 2023, 01:26:42 PM »
Hi,

I have a static page (index.htm)
When I call for the page and send some parameters along, like /index.html?a=1&b=2,
what is the best place to "receive" the data for these parameters?
Would that be the webhandler procedure, right after the code statement?

Cheers,
Ren?

4
Web Server - Ask For Help / json list
« on: November 21, 2023, 04:02:57 AM »
Hi,

Does anyone have experience using the Json list field type in a small example?

Cheers,
Ren?

5
Web Server - Ask For Help / s_web._SitesQueue.Defaults.ThemeColor = white
« on: September 14, 2023, 09:39:34 AM »
Hi,

Compiling an app gives only one error:
Unknown identifier: WHITE - C:\Users\Rene\CLARION\myText\myText\myText003.clw:1041,44

I have no idea where to set this value. I think the value must be quoted.
I looked it up in the NETTALK.TPL - NT14.02

The line where the value is set is 3219, which reads:
s_web._SitesQueue.Defaults.ThemeColor  = %ThemeColor

For the time being I commented the line out and changed it to:
s_web._SitesQueue.Defaults.ThemeColor  = 'white'

Now it compiles and runs.

Looking forward to a permanent solution.

Cheers,
Ren?

6
Hi,

Trying some simple NT14 things.
I get too many "Routine/ Goto label duplicated" (not true imho)

Also filter expression in auto complete stays in the code even if I remove it from the template.
And label duplicated (true), but I do not understand why.

Cheers,
Ren?



7
Web Server - Ask For Help / Insert without a form
« on: April 04, 2023, 06:52:56 AM »
Hi,

To insert a record, starting from a browse, normally a form is used.
I would like to have a select-popup directly when I click the insert button under the browe.
I have no need for a form here. I don't even want it.
Is that achievable?

Cheers,
Ren?


8
Web Server - Ask For Help / Set default font and font size in TinyMCE
« on: April 01, 2023, 07:55:38 AM »
Hi,

Is there a way to set a default font and font size in TinyMCE.
The standard appearance is very small.

Cheers,
Ren?

9
Web Server - Ask For Help / Change a static page
« on: March 19, 2023, 11:17:17 PM »
Hi,

When I change a static page in the webfolder, it seems that
the change is not picked up until after the webserver is restarted.
Is that correct behaviour?

Rene

10
Web Server - Share Knowledge / All sorts of info
« on: January 10, 2023, 12:51:25 AM »
Hi all,

When there is a topic you would like to know about more, check out https://www.guru99.com
It has free info on all sorts of aspects playing in computerland.
Too much to sum up but creatinly worth a look.

Ren?

11
Web Server - Ask For Help / File upload: Ever lasting question
« on: June 08, 2022, 11:17:13 AM »
Hi,

Is there someone who knows all the ins and outs of the File Upload?
  • How, where and at which moment to change the upload-to location?
  • How, where and at which moment to do the rename of the uploaded file?
  • How, where and at which moment to find out if the upload is complete?
Cheers,
Ren?

12
Web Server - Ask For Help / Style changing of droplist field
« on: January 20, 2022, 02:10:05 PM »
Hi all,

I have a memory form with 2 drop-lists.
They look normal (see image 01).
As soon as I place a TEXT field between them, the style of the second drop-list changes (see image 02).
The drop-lists are defined exactly the same.
The first one is defined over a table called Language, the second one over its alias.
To test, I moved the top drop-list to the bottom and vv.
The drop list on the top shows correctly, the bottom one changes .
Maybe some tagging in the HTML. I am almost certain the TEXT field is the culprit, but I don't know how.
I also tried to switch to a different theme. Still the same result.

Rene
NT 12.33

13
Web Server - Share Knowledge / Flexbox CSS in 20 minutes
« on: August 15, 2021, 12:01:05 AM »
Hi,

I have been struggeling to get the hang of Flexbox, until I found this on youtube.
It is probably not complete but it certainly did help me.

https://www.youtube.com/watch?v=JJSoEo8JSnc

Cheers,
Rene

14
Web Server - Ask For Help / Save button when uploading a file
« on: April 20, 2021, 12:00:20 PM »
Hi,
I have a form with a file upload button.
Also there is a date field, the user has to fill.
The upload button uploads right away.
The save button processes the uploaded file.
I have tried to to some validity check when the save button is clicked, but it omly processes the file.
How can I add some validation here?

Cheers,
Rene

15
Hi Bruce,

As the Text and HTML string in Send Email turned to StringTheory objects, I will have to add an extension to my procedures accomodate these fields.
But how do I do that?

Normally I add a local StringTheory object like ST to a procedure. Assigning a vaule is done by st.setvalue('tralala') .
In the SendEmail documentation (12.10 my current version) I see something like: parms.pEmailMessageTextST.SetValue('Tralala')

The example, Web11, is not up to date using the StringTheory way of doing things.
So how do I define the parms.pEmailMessageTextST object in my procedure?

Cheers,
René

p.s.
Thanks for las Friday's tip on double clicking an error and jumping to the embed code in stead of the generated code.

Pages: [1] 2 3 ... 13