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.
1
Web Server - Ask For Help / Re: Menu type best suited to Mobile Web Apps
« on: June 06, 2023, 11:44:47 PM »
Double-Drop.
2
Web Server - Ask For Help / Re: Failing on Loc:Err = RM.Open()?
« on: June 06, 2023, 11:44:31 PM »
sounds like the server is unable to open a file.
which means you may have lost your connection to your database.
What backend are you using?
which means you may have lost your connection to your database.
What backend are you using?
3
Web Server - Ask For Help / Re: Rebuilding the OBJ and CLW files after page/button text changes
« on: June 04, 2023, 11:37:11 PM »
I think screen-shots may help Richard.
I'm still no closer to understanding what you mean by "text"?
Is that a template setting? Embed code? something else?
I'm still no closer to understanding what you mean by "text"?
Is that a template setting? Embed code? something else?
4
Web Server - Ask For Help / Re: Rebuilding the OBJ and CLW files after page/button text changes
« on: June 04, 2023, 04:29:20 AM »
can you narrow down what you mean by "text changes" ?
5
Web Server - Ask For Help / Re: 12.60 Header menu DIV mismatch
« on: May 23, 2023, 09:35:15 PM »
thanks Jane - fixed for the 12.61 build.
6
Web Server - Ask For Help / Re: Themes? Any tips?
« on: May 19, 2023, 10:58:46 PM »
new ones include
Palmtree
Base
Morris
Check out the Themer example for playing around with them.
cheers
Bruce
Palmtree
Base
Morris
Check out the Themer example for playing around with them.
cheers
Bruce
7
Web Server - Ask For Help / Re: Splitting up large netwebform
« on: May 16, 2023, 11:27:28 PM »
Hi Tim,
the most likely reason is that the "internal" forms need to have the
Include <form>
checkbox turned OFF.
(These forms will also be set as "Memory Forms" and have the Save / Cancel button turned off.
Bruce
the most likely reason is that the "internal" forms need to have the
Include <form>
checkbox turned OFF.
(These forms will also be set as "Memory Forms" and have the Save / Cancel button turned off.
Bruce
8
Web Server - Ask For Help / Re: Run time settings query
« on: May 11, 2023, 10:58:34 PM »
you can save the user's preferred theme in your users table.
You can set the them once the user has logged in by calling
p_web.SetTheme('themename')
cheers
Bruce
You can set the them once the user has logged in by calling
p_web.SetTheme('themename')
cheers
Bruce
9
Web Server - Ask For Help / Re: EIP Validation
« on: May 08, 2023, 08:44:40 PM »
A bit of sarcasm, yes. Your note contained no information to prompt a meaningful answer.
The best way to query a behavior is to create an example app, and explain what behavior you are seeing, and what behavior you expect to see.
Asking open-ended questions like "how does validation work" is too broad a topic, and would likely not answer your actual question. So rather than write a 10 page explanation I thought I would prompt you to write a better question. You (marginally) did that, however if you follow the directions above I can give you a more meaningful answer.
The best way to query a behavior is to create an example app, and explain what behavior you are seeing, and what behavior you expect to see.
Asking open-ended questions like "how does validation work" is too broad a topic, and would likely not answer your actual question. So rather than write a 10 page explanation I thought I would prompt you to write a better question. You (marginally) did that, however if you follow the directions above I can give you a more meaningful answer.
10
Web Server - Ask For Help / Re: EIP Validation
« on: May 08, 2023, 05:52:50 AM »
>> How does EIP validation work?
magic
magic
11
Web Server - Ask For Help / Re: Netwebmethod/JSON and international characters
« on: May 08, 2023, 05:47:34 AM »
1. yes
it takes the code page from the system{prop:charset}
so you may want to set that;
system{PROP:CharSet} = CHARSET:ANSI
should do it
You could also set it explicitly by deriving the jsonclass.PushStack method, and setting;
Self.Stack.Buffer.CodePage = st:CP_WINDOWS_1252
2. no, you can assign it from that into a stringtheory object of your own.
Cheers
Bruce
it takes the code page from the system{prop:charset}
so you may want to set that;
system{PROP:CharSet} = CHARSET:ANSI
should do it
You could also set it explicitly by deriving the jsonclass.PushStack method, and setting;
Self.Stack.Buffer.CodePage = st:CP_WINDOWS_1252
2. no, you can assign it from that into a stringtheory object of your own.
Cheers
Bruce
12
Web Server - Ask For Help / Re: Netwebmethod/JSON and international characters
« on: May 03, 2023, 01:24:26 AM »
Hi Ton,
Json is always unicode (utf-8) but also can include encode characters, as you are seeing;
"\u00e4\u00e0\u00e2\u00e9\u20ac"
There are a few ways to tackle this, but for simplicity, this is what I'd do;
gtSt.Setvalue(SELF.rP_web.Getvalue('_postdata_'))
gtSt.jsonDecode() ! this turns the \u into actual utf-8 characters
gtSt.ToAnsi(st:encodeutf8 , st:CP_WINDOWS_1252)
and then the JSON stuff.
[1] I'm suggesting st:CP_WINDOWS_1252, as your local code page, but that will differ depending on your country.
st:CP_WINDOWS_1252 is for most of Western and Scandinavian Europe though. I don't know if that's the right code page for you though.
Cheers
Bruce
Json is always unicode (utf-8) but also can include encode characters, as you are seeing;
"\u00e4\u00e0\u00e2\u00e9\u20ac"
There are a few ways to tackle this, but for simplicity, this is what I'd do;
gtSt.Setvalue(SELF.rP_web.Getvalue('_postdata_'))
gtSt.jsonDecode() ! this turns the \u into actual utf-8 characters
gtSt.ToAnsi(st:encodeutf8 , st:CP_WINDOWS_1252)
and then the JSON stuff.
[1] I'm suggesting st:CP_WINDOWS_1252, as your local code page, but that will differ depending on your country.
st:CP_WINDOWS_1252 is for most of Western and Scandinavian Europe though. I don't know if that's the right code page for you though.
Cheers
Bruce
13
Web Server - Ask For Help / New Builds for NT10, 11 and 12 to update LetsEncrypt code.
« on: April 11, 2023, 08:50:03 PM »
NetTalk 10.48 , 11.56 , 12.57.
I've taken the step of making a new build for NetTalk 10, 11 and 12. This build solves a possible problem in the NetAcme code, the code that gets a certificate from LetsEncrypt.
An issue arose last week when it was noted that after the call to Finalize, an immediate call to get GetCertificate was made. However in some cases the certificate can take a few seconds to generate, and the call to GetCertificate will fail (with an error "Blank URL for Fetch".) An interim poll is required to know when the certificate is ready.
https://www.capesoft.com/accessories/downloads
Cheers
Bruce
I've taken the step of making a new build for NetTalk 10, 11 and 12. This build solves a possible problem in the NetAcme code, the code that gets a certificate from LetsEncrypt.
An issue arose last week when it was noted that after the call to Finalize, an immediate call to get GetCertificate was made. However in some cases the certificate can take a few seconds to generate, and the call to GetCertificate will fail (with an error "Blank URL for Fetch".) An interim poll is required to know when the certificate is ready.
https://www.capesoft.com/accessories/downloads
Cheers
Bruce
14
Web Server - Ask For Help / Re: Insert without a form
« on: April 04, 2023, 10:17:05 PM »
You can set the "form" to be used for Insert, Change and Delete separately.
(See the button settings on the browse.)
"Selecting" from a popup though isn't going to "Insert" a record. You'd need to code that.
Frankly, I'd create a simple Form on the table, with just the one field (the lookup browse), then in ValidateInsert I'd add code o prime the record with whatever values you are choosing, and let it add the record.
that seems like the simplest architecture to me.
Bruce
(See the button settings on the browse.)
"Selecting" from a popup though isn't going to "Insert" a record. You'd need to code that.
Frankly, I'd create a simple Form on the table, with just the one field (the lookup browse), then in ValidateInsert I'd add code o prime the record with whatever values you are choosing, and let it add the record.
that seems like the simplest architecture to me.
Bruce
15
Web Server - Ask For Help / Re: Does the PostInsert Routine ever get called?
« on: April 03, 2023, 05:43:29 PM »
Hi Sean,
2) it's an option on the General Tab of the form properties.
"Include <form> tag" or something like that.
3) If Auto-inc is on, and auto-inc is being done, then the form may be in Change mode.
Check to see if it goes out through PostUpdate instead?
(From your description, it should _not_ pre-auto-inc, which is something you can control on the Advanced tab of the form options.)
Cheers
Bruce
2) it's an option on the General Tab of the form properties.
"Include <form> tag" or something like that.
3) If Auto-inc is on, and auto-inc is being done, then the form may be in Change mode.
Check to see if it goes out through PostUpdate instead?
(From your description, it should _not_ pre-auto-inc, which is something you can control on the Advanced tab of the form options.)
Cheers
Bruce