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 DevelopmentHTML Template CachingThe cache data for a Panther screen utilizing an HTML template can bemaintained, and the template will be updated dynamically to associate thecache file with it. The HTML template must contain the {{form:info}}template tag.HTML Template TagsThe syntax for HTML template tags has changed from to{{variable}}. In addition, there are new tags for HTML templates:{{form:info}}{{form:output}}{{form:script}}{{form:tag}}{{value:variable}}{{emit:object}}{{while:condition}}{{if:condition}}{{else:}}{{elseif:condition}}{{end:}}{{include:filename}}{{eval:statement}}Interpolates hidden data needed to submit the form.Outputs the entire form in the HTML format Pantherwould normally use.Generates JavaScript procedures based on edits andvalidations of widgets on the form.Generates the start tag with ACTION and JavaScriptattributes.Generates the value corresponding to the specifiedvariable.Generates the HTML that Panther would normally outputfor the specified object.Performs condition processing based on a JPL booleanexpression.Include the specified file.Evaluate a simple JPL statement.Two application properties are associated with HTML loop processing:html_max_loop to limit the number of loop iterations and html_max_nest to limitthe number of nesting levels.<strong>Upgrade</strong> <strong>Guide</strong> 1-47

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

Saved successfully!

Ooh no, something went wrong!