Call on the WebView directly from your controller.
Refer to Rhodes Application User Interface for a general discussion of the Rhodes application user interface.
WebView does not support opening internet URLs required authentification. Use the AsyncHTTP/AsyncHTTPS API for access to URL required authentification.
Force WebView to refresh the current page.
||(optional) Force the WebView to refresh the page on the tab with the specified index. If no tab bar present, index is ignored.|
Force WebView to navigate to a URL.
White page flickering during transition may happen if a controller action method doesn’t return any rendered value, but instead performs a WebView.navigate(someUrl) call. It is important to avoid using WebView.navigate in action methods because WebView.navigate is intended to be used in callback methods asynchronously.
||Navigate to this url.|
||(optional) Force the WebView to navigate using the page on the tab with the specified index. If no tab bar present, index is ignored.|
Force WebView to navigate to the previous page using Browser back.
Returns the url (location) of the current page; the last URL loaded to WebView by Rhodes.
f you open your page in WebView, and after it makes a few jumps by linking (for example, to outside web adresses for example),
current_location will still return the initial url opened in WebView. Also, if you use QJMobile,
current_location has the initial URL, but does not reflect the actual window.location containing the JQMobile additional address by adding #, etc. See get_current_url.
||(optional) Return the url for the page on the tab with the specified index. If no tab bar present, index is ignored.|
Refer to Control WebView from controller actions for an example.
Returns an index of @tab array for the currently selected tab.
Switch to/from full screen mode.
||1- enable full screen mode. 0 - disable full screen mode.|
When WebView loads the specified url (either by selecting link or from calling WebView.navigate), it will add this cookie to the HTTP request.
||Set a cookie to be used by WebView for this url.|
||One or more name/value pairs of the format "NAME=VALUE". Separate multiple name/value pairs with a semicolon, such as "NAME1=VALUE1; NAME2=VALUE2”.|