Class GetUrl

java.lang.Object
overit.geocall.ui.GetUrl
All Implemented Interfaces:
SingleUseComponent

public class GetUrl extends Object implements SingleUseComponent
This component extends SingleUseComponent and must be used to add the script that launches an Url to the SetupScript.
This Url can be an attachment in the ResourceServlet and can be passed directly as a parameter or extracted from the Gate.
  • Field Details

    • _url

      protected String _url
    • _launch

      protected String _launch
  • Constructor Details

    • GetUrl

      public GetUrl(Gate g, overit.geocall.servlet.UserAgent ua)
      Instance of the GetUrl that extracts the url from the Gate and prepares the string that launches the url to be added to the SetupScript.
      Parameters:
      g - Gate from which to extract the url.
      ua - Not used.
    • GetUrl

      public GetUrl(String url, overit.geocall.servlet.UserAgent ua)
      Instance of the GetUrl that receives the url as parameter and prepares the string that launches the url to be added to the SetupScript.
      Parameters:
      url - Url to launch.
      ua - UserAgent that identifies which device you are using. Used to check if you are with a mobile device (see TAG_MOBILE).
  • Method Details