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

Pages: 1 2 [3] 4 5 6
31
Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 28, 2023, 06:46:55 PM »
I got this working the way I want.
I added to the form an additional Save Button and changed the text to 'Save and Print'

In the browse in embed Browse Procedure -> 3 End of Procedure  I put
      IF p_web.GetValue('_buttontext_') = 'Save and Print'
          p_web.Script( p_web.WindowOpen('DocketPrint','_blank'),1)
      END

Which open a new window/tab with the print and leaves the browse in the origianal window.

32
Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 27, 2023, 09:08:13 PM »
Thanks Bruce,  Yes, I know, and I have a page that does just what you suggest. 
What I don't know how to do is to call that page between saving the form and return to the browse.

Any pointers on that?

33
Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 27, 2023, 08:04:50 PM »
I'll think about that approach, but I don't think I can guarantee Windows clients.

In the mean time I do have something that will print.
I just need to open that page before returning to the browse.

34
Web Server - Ask For Help / Re: How to open a new a page after insert
« on: February 27, 2023, 01:38:35 AM »
Thanks Vinnie,
Unfortunatly the invoice is also going to be used by kitchen staff to create the order.  So I need to print it every time.

35
Web Server - Ask For Help / How to open a new a page after insert
« on: February 26, 2023, 11:00:43 PM »
I have an invoice entry form.
After completing I want to print the invoice.
So after saving and before returning to the browse I want to open a new window that will be printed.

Where and What do I do to achieve this?

36
Web Server - Ask For Help / Re: Calling a form by URL from external
« on: February 07, 2023, 03:49:44 PM »
My nettalk skills aren't the best but..

I think I'd create a memory form and call with a parameter of your invoice number.
Have the mem form setup everything needed and call the update form.

As long as security is set the login should be required.

37
Web Server - Ask For Help / Re: open submenu indented?
« on: January 14, 2023, 03:30:38 PM »
Brilliant !  ;D
Yes that's the sort of thing I'm after.

Thanks Jane

38
Web Server - Ask For Help / open submenu indented?
« on: January 13, 2023, 08:56:39 PM »
Currently on my app a level 2 menu opens directly below the level 1 item.
This is a real pain because in some you can't easily get to the rest of the Level 1 items

How can you get the level 2 items to be indented a bit to the right?
I've been looking at the menu css but sort of stumped

39
Web Server - Ask For Help / Re: (Nettalk) Webserver security?
« on: January 10, 2023, 04:29:04 PM »
I know that in the past, Bruce said something about submitting the nettalk server some 3rd party testing mob.
Apparently Nettalk passes with flying colours.  But I can't remember much more than that.

Yes the physical box should help protect against DOS attacks.  Whether it's any better than what NT can do I have no idea.

40
Brilliant !

Thanks Bruce

41
Ok... so..  (showing my ignorance)
1. What sort of things on the update form could cause malformed xhtml
and
2.  How do you do the checking?  (I have Firefox)

42
I'm having a little trouble with one browse in particular not always refreshing
It's for stock Items and if I change the description from 'Can of Pashionfruit' to 'Can of Pashionfruits' it doesn't refresh.
It stays that way if I change another row as well.
I can see from the driver logs that the rows are being fetched and they're correct, just the browser doesn't reflect this.
Pressing F5 fixes it.

43
When a session is started I set a couple of session values for later:
            self.SetSessionValue('CurrentTenant_id',SecwinCurrentUser.GetSettingsGuid())
            self.SetSessionValue('CurrentUser_id',SecwinCurrentUser.GetGuid())
These are set in the WebHandler in  p_web.SetSessionLoggedIn

Question now is :  Whats the best way to get the Tenant Name ?   ie the Settings Company Name?

I know I can Fetch the record directly but it seems to me there should be an existant method available at this point, because it's the sort of thing you would want,  but I can't find it.

?

44
Was anything found with this?
I'm also having a std browse/update not refresh after returning from the form
F5 does update the info

45
Web Server - Ask For Help / web and secwin 7 and menus not hiding
« on: January 01, 2023, 10:02:34 PM »
If, due to security, a top level menu has no items, should it also hide?
It seems the bubbling of security does not go up to the menu level?

Pages: 1 2 [3] 4 5 6