Interface ClientResourceOperation


public interface ClientResourceOperation
Operation providing means to load resources on the client-side.
Since:
5.2.25
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Operation type providing means to load resources on the client-side.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addScriptUrl(@NotNull String url)
    Add a relative or absolute javascript url to load on perform(boolean).
    void
    addStylesheetUrl(@NotNull String url)
    Add a relative or absolute stylesheet url to load on perform(boolean).
    void
    perform(boolean waitForResources)
    Initiates the loading of the previously specified resources.
  • Field Details

  • Method Details

    • addScriptUrl

      void addScriptUrl(@NotNull @NotNull String url)
      Add a relative or absolute javascript url to load on perform(boolean). The base-url for relative urls is the webedit webapp context path (e.g. /fs5webedit/).
      Parameters:
      url - the javascript url to load on the client-side.
      Since:
      5.2.25
    • addStylesheetUrl

      void addStylesheetUrl(@NotNull @NotNull String url)
      Add a relative or absolute stylesheet url to load on perform(boolean). The base-url for relative urls is the webedit webapp context path (e.g. /fs5webedit/).
      Parameters:
      url - the stylesheet url to load on the client-side.
      Since:
      5.2.25
    • perform

      void perform(boolean waitForResources)
      Initiates the loading of the previously specified resources.
      Parameters:
      waitForResources - true if this method should wait until the resource loading process has been completed, false if this method should return immediately initiating the loading process
      Since:
      5.2.25