Is there a way to retrieve the call stack from javascript?
-
- New User
- Posts: 17
- Joined: Thu Mar 12, 2015 6:33 pm
- First Name: Jim
- Last Name: Murtha
- Company Name: Dealertrack
- Contact:
Is there a way to retrieve the call stack from javascript?
Dealertrack is implementing logic in the pui.onload and pui.onsubmit functions in custom.js. Is there a way to know whether the current screen is either genie or our application?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Is there a way to retrieve the call stack from javascript?
The pui.onload and pui.onsubmit functions are not called from 5250 screens, they are only called from Rich Display screens.
Is that what you are asking?
Also, parameters are passed to your pui.onload() function indicating the name of the display file, library, record format, etc. So if you need to distinguish between your application and other Rich Displays, you could potentially do that by checking those parameters.
Is that what you are asking?
Also, parameters are passed to your pui.onload() function indicating the name of the display file, library, record format, etc. So if you need to distinguish between your application and other Rich Displays, you could potentially do that by checking those parameters.
Who is online
Users browsing this forum: No registered users and 12 guests