Response object documentation corrections

Use this board to ask questions or have discussions with other Rich Displays users.
abhimanu21
New User
Posts: 10
Joined: Fri Jan 26, 2018 4:50 pm
First Name: Abhimanyu
Last Name: Gupta
Company Name: WinSupply
Contact:

Re: Response object documentation corrections

Post 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.
Scott Klement
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: Response object documentation corrections

Post 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.)
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests