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

Pages: [1] 2 3 ... 23
1
Web Server - Ask For Help / Re: Colon cleansing?
« on: Today at 12:50:59 PM »
isn't just nostalgia for the DOS days.... So convince away...


Dang, Bruce.
You calling me old?  Old?
Of course I'm old... I program in Clarion!
A kid I worked with 15 years ago used to refer to me as "Old 8-bit."

All right... I'm looking at more commercial websites with an eye toward their use of labels and will rethink things for my current little project.

But dang...  still don't like having my colons eaten!  (If a colon looks stupid on a label and I'm not bright enough to rewrite the label text without a colon then I deserve an ugly label!)

Speaking of appearances... if labels is the new plastics... what do you think about adding an entry in the form field template for CSS for the label the way you have for Prompt and Comment?

Now where'd I leave my 5 1/4 floppy with MASM 5.0???

2
Web Server - Ask For Help / Colon cleansing?
« on: May 16, 2024, 04:38:42 PM »
Bruce,

On some of the prompts on webforms I want a colon.

i.e.    Patient Number:  ______________

But the p_web.NoColon template code eats my colon: 
packet.append('<label for="'&p_web.nocolon('wizKeepPatientId')&'">' & p_web.NoColon(loc:prompt,Net:NoUnderscore) & '</label>')

Is there an easy way around that I'm missing, other than embedding code and exiting each Prompt::whatever routine early?

Thanks.


3
Thanks, Bruce!
Made the template edit for now.

4
work if  set  in settings in webserver ..
Yes it does.
But that doesn't help if one only wants to disable comments on specific forms.

5
14.21.
If I go to the Layout tab on a form and set Suppress Comments to Yes, the comments divs are still generated on the form. 
That doesn't seem right?

Modified example of Web71 attached.  I copied the Customers browse and update form.  On the duplicate form I manually suppressed comments on each field.  On the original form I just set the item on the Layout tab to Yes.



6
Web Server - Ask For Help / Re: Serving a HELP file for my Web APP
« on: May 10, 2024, 02:36:02 PM »
Can you open the help by entering its URL directly in the web browser? 
I'd poke around with that until you find what's wrong.  (i.e., can you open an image by typing in its path name? a css file?  anything within your EPPILIHELP folder?)

7
Web Server - Ask For Help / Re: Serving a HELP file for my Web APP
« on: May 10, 2024, 01:14:56 PM »
I assume the typos are just in your post and not in the URL?  (eppiL/eppiP)

8
Web Server - Ask For Help / Old wizard
« on: May 03, 2024, 03:46:45 PM »
When you get bored, Bruce...
The NT wizard to create a new app is a bit out of date.
I started a new project yesterday using the wizard and noticed that the Settings/Certificates tab does not have "manual" as one of the Challenge Method options.

Much fun was had as Jane painfully tried to emulate Bruce in replacing that control template and getting the pieces appropriately positioned.   ::)

9
Write a separate routine to read through and count all the records that will be in the report.
Run that BEFORE you OPEN the report.
That way the report header can have the correct information.

10
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 03:13:42 PM »
Richard,

I don't think login-form-width exists by default.

That looks like a class name that Jeff created as shown in the second pic in his original post (where he adds it after a space to the FormDiv settings for his procedure).
Once it's attached to something, then the CSS class can attach itself.

Do you have that class name in your template?

Jane

11
I've implemented the old SQL disconnect stuff Rick described in the old 2020 CIDC conference and it works brilliantly.

Generally, Clarion apps share a single SQL connection across threads.  Rick creates a separate transitory connection as each new p_web thread needs it.
It does add some SQL overhead because of his approach to the frequency with which it disconnects, but that doesn't impact my apps negatively.

You could, of course, modify Rick's approach and just disconnect prophylactically at times you feel appropriate.


12
Depending on what version you're moving from, there was a need to repopulate the control template for the web server (Bruce illustrated in numerous webinars).  But I can't find a link in the docs at the moment. 

Those settings you're asking about are now variables and the actual values are entered in the web server while it's running, rather than compiled.

13
Web Server - Ask For Help / Re: Troubles with conditional hide filter.
« on: February 20, 2024, 06:00:02 PM »
Does it need to be a string?  (Are you thinking of filters, maybe?)

Are your variables in scope or do you need to get session values?

Check the bottom of page 182 of "Developing Web Applications with NetTalk - Fourth Edition."

14
Web Server - Ask For Help / Re: OT - Anyone working with NDJSON?
« on: December 28, 2023, 05:38:17 PM »
Thanks, Sean.

15
Web Server - Ask For Help / OT - Anyone working with NDJSON?
« on: December 26, 2023, 02:38:18 PM »
"Newline Delimited" JSON.

To be honest, I just came across this while looking through the specs for the FHIR data required for the US Federal Government's current UDS+ reporting requirements:
https://fhir.org/guides/hrsa/uds-plus/spec.html

A bunch of JSON stuff combined in a single file.
Can skip over/ignore any badly-formed JSON components.

https://github.com/ndjson/ndjson-spec

Pages: [1] 2 3 ... 23