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

Pages: [1] 2 3 ... 46
1
Web Server - Ask For Help / Center a WebBrowse
« on: November 08, 2023, 10:15:32 AM »
Hi, to center a WebBrowse, his locator and buttons, I need to add the following css code:
(pic attached)

div#browsetasas_div {
    text-align: -webkit-center;
}
div#browsetasas_table_div {
    text-align: -webkit-center;
}
div#browsetasas_nav_b {
    place-content: center;
}
div#browsetasas_update_b_div {
    place-content: center;
}

Is there any other easy way?

Thanks

2
Web Server - Ask For Help / Red cross icon in popups
« on: November 03, 2023, 04:57:36 AM »
Hi, is there any way of delete the close red cross icon in a popup window?
And any way of set it as modal so the user must click on a button to close?
Thanks

3
Web Server - Ask For Help / WebServer Single Sign On (SSO)
« on: August 22, 2023, 06:16:25 AM »
Any way to loggin using SSO?
May be using the new Secwin?
Thanks

4
If you are showing a simple web browse with Name and Address and this data is comming from a ws reading, that is, its not entered manually, then you can found any kind of characters inside those fields and if any of this is not xHTML compatible then suddenly the browse does not refresh.
This happened to me, suddenly some Addresses comes with #xxx; coded characters. so in addition to the conversion from utf to ansi I need to use DecEntityToChar() in all the string fields, so...

Is there any st method or combination that cleans all the possible non xHTML characters from a string? no matter if you loose data?

Thanks

5
Web Server - Ask For Help / Load balancing
« on: December 16, 2022, 09:41:24 AM »
Hi Bruce, Do you plain to add load balancing to NT14 ?

6
Web Server - Ask For Help / How about adding some helper funcions
« on: December 02, 2022, 03:01:47 PM »
How about some p_web helper functions like:

p_web.PushButton(string p_btnname)
    ex:    p_web.Script('document.getElementsByName(''bRefrescarMapa'')[0].click();')
p_web.ShowBusy(string p_left,string p_top)
    ex:    p_web.Script('$("#_busy").css(''left'',''50%'').css(''top'',''40%'').css(''display'',''flex'');')
p_web.HideBusy()
    ex:    p_web.Script('$("#_busy").css(''display'',''none'');')

7
I have a Mem form that sest some filters and shows a browser with address to visit (lat/lon)
The form has a button wich calls another mem form with a map in it to shows the icons of the address on the map.
When there are many icons the form takes some time to appear, the mem form obly appears when the map i complete,
meanwhile the user still sees the actual mem form.
If the user gets impatient and leaves the filter form while the map form is beeing generated this thread is still working, the map is still beeing generated.
The same if the user enters again to the filter form and press again the map button.
Is there any way to show the map mem form before the map generation is beeing made? and show a message like "wait for the map"
Is there any way to delete the map thread if the user leaves the page and the map generation isnt finished?

8
Web Server - Ask For Help / GPF on Web Maps
« on: November 18, 2022, 07:18:36 AM »
C11.1
NT12.47

Reported error : EXCEPTION_ACCESS_VIOLATION - Error reading data at : 0DB90008h
Windows : Win 10 - 10.0.19043
Clarion : 0.9
Thread : 3    Field : 0    Event : 1024    Keycode : 0
Error at address : 78D453EFh  Line=11258  Proc=R$PARENTCALL  Src=NetWeb.Clw  Module=C:\!sourceC111-NT12\GaosC11dll\DATA.dll 2022.11.17.320
Stack Trace
??? 009C6970h    Line ?=4432    no proc       Src=PaqWeb.clw
??? 790D3854h    Line ?=65    no proc       Src=Xplore.CLW    Module=C:\!sourceC111-NT12\GaosC11dll\DATA.dll 2022.11.17.320
[01] 78D7509Fh    Line=11236    Proc=_JSOK@F22NETWEBSERVERWORKERBASEOsbll  Src=NetWeb.Clw    Module=C:\!sourceC111-NT12\GaosC11dll\DATA.dll 2022.11.17.320
??? 009C6970h    Line ?=4432    no proc       Src=PaqWeb.clw
[02] 00788723h    Line=1656    Proc=R$VALUE::ACCIDENTSMAP  Src=PaqWeb028.clw

PaqWeb028.clw     NetWebForm with a Map control
AvonMap              PROCEDURE  (NetWebServerWorker p_web,long p_stage=0)
line 1656:
p_web.SetOption(loc:options,'title',p_web._jsok('Entregado: '&clip(ppqc:OrdenId)&' '&(ppqc:AvonDayRoute*1)&(ppqc:AvonTravelRoute*1)&' '&ppqc:AvonSecuenceRoute))

it calls _jsok with a string, it could be called hundred of times depending on the number of waypoints to draw.

NetWeb.Clw
line 11236:
  do ParentCall


NetWeb.Clw inside the ParentCall routine
line 11258:
    y = self.WebServer._jsok(self.AsciiToUtf(p_notok),html,ReturnValue)


The strings passed are like:
"Entregado: 68826397 31 40  4/11/22 07:29"
Ive added some AddLogs to see it in the log screen, see pic

The process of generating all the icons on the maps work ok, you get the map and can use it.
But the server goes slower and slower, I dont see nothing weird in the perfomance tab.
And when you CLOSE the server, yo need to restart it to solve the slowness... you get the GPS allways in the same lines.

Any idea?




9
Web Server - Ask For Help / How to force a re-login to go to the IndexPage
« on: November 17, 2022, 03:46:52 PM »
When a page needs to be logged in and you try to get it, it goes to the LoginPage, ok, but when you log in it tries to open the last page, which in some cases is a real problem.
How to go always to the IndexPage when logging in?

10
Web Server - Ask For Help / How to get rid of this errorning
« on: November 10, 2022, 12:47:47 PM »
Hi,
I write errorning because its an error but the app compiles ok like it is a warning.
Its a DLL from a multi DLL app, its not the data.dll
I have this same errorning in 4 of 16 dlls and I can find the solution.
Please see pic
Any idea?

11
Web Server - Ask For Help / NT12 and winsocket perfomance form
« on: November 09, 2022, 01:13:06 PM »
Hi, it is not formating the numbers, please see pic.

12
Web Server - Ask For Help / NT 11 Gpf
« on: October 24, 2022, 10:32:00 AM »
Hi, I have a NT web page that randomly GPFs.
Ive added it CS Gpf reporter but does not get any information.
Some times it hangs like in the pic, sometimes it gets so slow that users cant use it anymore and when I close it I get a GPF windows on a thread but no info at all.
Its Sql, Ive added a re connection verify each 10 seconds, so connection is ok.
Ive extend the disconnection time to 20 hours, and nothing.
Any other Idea?

13
Web Server - Ask For Help / Save a photo to a blob field
« on: June 01, 2022, 07:59:04 AM »
Hi Bruce,

Im taking photos and I need to save it to a blob.

In the SaveFile routine Ive added a few lines that seams to be OK but the blob is not saved

SaveFile::pim:Link  Routine
  data
loc:filename  string(255)   ! full server-side pathname to file on the server disk.
str           StringTheory
  code
  loc:filename = pim:Link
  str.SetValue(str.Random(8,st:Lower) & '.png')
  loc:filename = p_web.RenameFile('Link',str.GetValue())
  p_web.SaveImage('pim:Link',loc:filename,p_web.GetValue('_image_'))
  pim:Link = p_web.MakeWebRelative(loc:filename)
  p_web.SetSessionValue('pim:Link',pim:Link)

        p_web.AddLog('gen blob from '&loc:filename)
    str.LoadFile(loc:filename)                                      !the file exists
        p_web.AddLog('len: '&str.len())                            !str has a good len
    str.ToBlob(pim:blobimagen)                               
    p_web.SetSessionValue('pim:blobimagen',pim:blobimagen)

But the blob is not saved... Any idea?

BTW, I dont found any "save as blob" option in the template in NT11 nro in NT12.

Thanks!

Alberto Michelis



14
Web Server - Ask For Help / NT12 and empty comments
« on: September 18, 2021, 08:18:48 AM »
In Nt12 when I leave the comments blank or I set it as '' it is displayed.
I cant hide them using css but will be better if the template does it for me :-)
See pic

15
Web Server - Ask For Help / NT12.22 error in maps web
« on: August 17, 2021, 09:27:53 AM »
Hi Ive installed 12.22 and recompile and get the following errors, the same in the three procs I use maps.
Please see pic.
Thanks

Pages: [1] 2 3 ... 46