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 ... 6 7 [8] 9 10 ... 23
106
Web Server - Ask For Help / Re: Browse image from a blob field
« on: May 27, 2022, 11:59:29 AM »

1.  I want to visit the NetTalk User Group Webinar next Thursday, so we might go over these issues I'm having.  I tried to register but it seems one can only register when the webinar is live.  Is there another way to register and/or join on Thursday?



To interact you'll need to attend via Zoom, not Youtube:

https://us02web.zoom.us/webinar/register/WN_X6ygTII9S3OqvkTRzms3qQ

108
I think this is what you're asking about, Richard.  (Remember that you can only edit application preferences when you do not have an APP open.)


109

I suppose the abbreviated question could be "Why can the embedded code not apen automatically on edit?"
or
"Why does the CLW always open?"

regards
Richard

Hi, Richard,

The magic "I want to open the app on errors" settings do work.  Usually.  Mostly.  Except...

Try the attached example.
As it is, it will throw an error and open in generated source, not in the app.

Now fix that error and create a different one:

1. In the embed code, add the missing END for the CASE statement (to fix the existing error)
2. change one of the variables to LOC:A (which is not defined).

Now attempt to compile, and the error will open in the app, not in the source.

Apparently trying to open in the app just can't figure out where to go when there's a bolloxed END....

Cheers,

Jane

111
Looks nice, Jeff! 👍

112
Web Server - Ask For Help / Re: LDAP attribute pwdLastSet
« on: May 05, 2022, 12:04:20 PM »
BTW, Mike - I'd consider that edit a bug.

Unless Bruce agrees and fixes it, you'll need to re-edit netldap.clw each time you update NetTalk.

Sure you can query AD from a web app.  I've been doing it for several years with my own code and Bruce has incorporated LDAP functionality into Secwin 7.

As with any asynchronous request for data, your web server will have a (hidden) window acting as a web client to fetch the data.

jf

113
Web Server - Ask For Help / Re: LDAP attribute pwdLastSet
« on: May 04, 2022, 04:01:55 PM »
That was tricky... LOL...

Search in netldap.clw for the NetLDAP.ParseAttributes procedure

change the line from

  pAttributes.Filter('','Set')

to

  pAttributes.Filter('','Set of')

As written, it's filtering out the pwdlastSET attribute ;)

jf

114
Jeff,

I often wind up with an annoying useless scrollbar at the bottom of popups.

It seems to arise out of pressure between a width:100%!important property combined with left/right margin settings.

I've found I can avoid it by setting CSS on the inner div to override the margins, or by setting overflow:hidden on the parent div.

Pics.

jf




115
Web Server - Share Knowledge / Making "focus" work in a nested popup
« on: April 28, 2022, 10:32:31 AM »
My problem was an input field on a form nested several popups deep.  I wanted the field to have focus when the form opened but it wasn't working.

This is a follow-up to Bruce's help on today's webinar.

1. We were fooling ourselves in the console.  The console itself grabs focus, so typing
$("#bruce").focus();
actually DID work, but one needed to click back into the browser part of the screen for it to take effect.  (Unlike the .hide() and .show() commands).

2.  I guess "timing is everything".  I tried moving the focus() command to inside the embed that is inside the $(document).ready function and now it works!  (pic).  Apparently what I tried previously was firing too early.

Thanks, all.

Jane



116
Web Server - Ask For Help / Re: Export not correct
« on: April 15, 2022, 07:38:40 AM »
Just taking a WAG here, Mike.  I'd try clearing the "Enable File Cache" checkbox on the web server extension Performance tab.

117
Web Server - Ask For Help / CASE statement uses equate, not field name
« on: April 14, 2022, 12:45:00 PM »
I'm a good shot.

Take aim at foot.  Do not miss  ::)

Yes.  I know.  "Why would you do that?"  "Don't do that."

But I did...

I changed the equate on a form field (just because I don't particularly like the colon-replaced-by-underscores.)

And after a bit of chasing my tail figured out that that's what broke my effort to use a lookup on that field.

The AfterLookup routine grabs the session value for the "lookupfield" - but that's based on the field's equate, not the field name.
Then immediately following is a CASE statement that looks to match the actual field name, not the equate.

Sneaky!

Cheers,

Jane





118
Web Server - Ask For Help / Re: Disable insert button?
« on: April 10, 2022, 06:31:05 PM »
Thanks for the 12.39 fix.

119
There's probably a better way.

An hour with Mr. Google turned up the attached as a possibilty for a form.  (Copy the custom.js into the web\scripts folder).

Cheers,

Jane

120
Web Server - Ask For Help / Re: CSS Condition
« on: April 06, 2022, 11:34:11 AM »
What about to change the CSS served by the browser based on a conditon?
if condition then Custon.css else Custon2.css end
Is that possible?
Regards

Do you mean similar to what you can do by using the url http://127.0.0.1:88/?_theme_=morris

I'd guess you could do something in p_web.ChangeTheme in the web handler

IF get some value from cookie = blarg then   p_web.SetSessionValue('_theme_','blargTheme') .

??


Pages: 1 ... 6 7 [8] 9 10 ... 23