Page 3 of 3

Re: Response object documentation corrections

Posted: Thu Feb 15, 2018 5:01 pm
by abhimanu21
not sure if I am answering it correctly but let me try to explain.

Added scriptalias in httpd.conf file for PUI0002100.PGM.
Created a WOB folder under \htdocs\profoundui\userdata\genie skins\WOB.
Added Start.html, custom.js and config.js
Opening the 5250 Web session.
Call the program from menu (or command line).
Screen does not have new widgets.
Checked the developer tools, and no JS files for custom widget are loading there.

Re: Response object documentation corrections

Posted: Thu Feb 15, 2018 5:06 pm
by Scott Klement
So, you're running it from Genie. (PUI0002100 is one of the main programs that are part of Genie.)

I don't understand why you added a scriptalias -- we ship the product with scriptaliases for Genie already defined. Can you explain why you added a new one?

At any rate, Genie does not automatically load the .js files under userdata/custom. You have to specficially add <script> html tags into your start.html for them to be loaded. (or <link> tags for CSS if you need that.)