Description


Need of some action to be done by the web browser after doing some controls or job by uniface. For instance: - open another url in the web browser to show an error page. - open a warning dialog. - and perhaps eval any javascript we want. Should this, be done in the script udatalayer.js, by adding case in the execute function?

Use Case


\"Open a new url: if (someCondition) $webinfo(\"\"OUTPUT\"\") =\"\"{%%\"\"newurl%%\"\" : %%\"\"/aPage.html%%\"\"}\"\" exit(0) , to not do the \"\"websave\"\" endif , which can be executed by the web browser as: document.location=\"\"aPage.html\"\" Prompt an alert: if (someCondition) $webinfo(\"\"OUTPUT\"\") =\"\"{%%\"\"alert%%\"\" : %%\"\"beware of the dog%%\"\"}\"\" exit(0) , to not do the \"\"websave\"\" endif , which can be executed by the web browser as: window.alert(\"\"beware of the dog\"\")\"

Importance


Navigate with the previous next buttons of the web browser. Dialog messages in a modal way. Control growth of browser memory.

Type


Uniface Web (USP/DSP/Services)

Operating System


Not Applicable

Status


Closed

One thought on “More controls of web browser by uniface”

Leave a Reply