11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Web Application DevelopmentNew Syntax for Specifying VariablesThe syntax for accessing Panther variables has changed from to{{variable}}. This new syntax can be used in JavaScript, VBScript, the CustomHTML properties (such as Prefix Markup and Suffix Markup), and HTML templates.Web Entry ProcessingWhen screens are submitted at runtime, Panther variables (@web_action,@web_action_widget and @web_action_occurrence) contain information aboutthe push button that was pressed and the widget's object ID and occurrence number, ifapplicable. These variables can be accessed in web_enter processing. For moreinformation, refer to “Web Entry Context Flags” on page 5-9 in Web Development<strong>Guide</strong>.Caching Application StateThe state of the application can now be obtained when performing a GET for Pantherfiles. In previous releases, invoking screens and reports via a GET caused the stateinformation to be lost. The following can now be accomplished:! Hyperlinks—A hyperlink can be used to obtain a Panther screen that has accessto application state information on the server.! Frames—The HTML file which defines the frames would be set as an HTMLtemplate. Then, using the procedure for HTML templates, the canspecify a series of screens sharing the same cache file.! HTML Template – The name of the cache file can be encoded into the HTMLtemplate using the syntax. The template can call subsequentPanther screens via GET with this cache name specified. The called screenswould then have access to the cache information.To implement this caching behavior, two new application properties are available:Previous Form (previous_form)Gets the screen name as stored in the current cache file. Typically, this wouldbe the name of the last screen that was accessed.1-48 Upgrading to Panther from JAM 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!