Allows to add an URL to the adapter to access in the following form load. The URL can be both an internal URL of the system Axional Studio or external addresses. Also, it is possible to indicate where and in what way you want to visualize the URL, for this the mode attribute is used and it allows the following options:

• modal: The URL is opens in a modal window, on the current form.
• new: The URL is opens in a new window.
• self: The URL is opens in the current window, replacing the form.

This function needs both a request and an adapter; so it can be only used from a script called from the form. In this way, it is either called from the main process of the object, or from a button, or from the transaction manager. Note that the URL is linked to the adapter and can be lost when the adapter is recharged. Such recharging may occur because the adapter expires, because its recharging has been forced or for example, if it is called from a button of the type Run and refresh, in which case, the URL will never open.

#### Deprecated

Deprecated since September 2017. Instead of it, use cursor.postUrl.

<http.request.JRepAdapter.postURL mode='modal|new|self'>    <url /> !</http.request.JRepAdapter.postURL>
Example

Example of a process to open an extern URL towards http://www.deister.net. If this process is performed from a form button of type Rum; after doing click on the button, the page is reloaded and a new one is opened with the address http://www.deister.net

Copy
<xsql-script name='http_connection_getAttr'>
<body>
<if>
<then>
<string>http://www.deister.net</string>
</then>
</if>
</body>
</xsql-script>
Example

Example of a button which opens a Axional Studio form.

Copy
<xsql-script name='http_connection_getAttr'>
<body>
<if>
</xsql-script>