Package io.jmix.ui

Interface WebBrowserTools

All Known Implementing Classes:
WebBrowserToolsImpl

public interface WebBrowserTools
Utility bean to provide common functionality related to web browser.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Open a web page in browser.
  • Method Details

    • showWebPage

      void showWebPage(String url, @Nullable Map<String,Object> params)
      Open a web page in browser.
      Parameters:
      url - URL of the page
      params - optional parameters.
      The following parameters are recognized by Web client:
      • target - String value used as the target name in a window.open call in the client. This means that special values such as "_blank", "_self", "_top", "_parent" have special meaning. If not specified, "_blank" is used.
      • width - Integer value specifying the width of the browser window in pixels
      • height - Integer value specifying the height of the browser window in pixels
      • border - String value specifying the border style of the window of the browser window. Possible values are "DEFAULT", "MINIMAL", "NONE".
      Desktop client doesn't support any parameters and just ignores them.