Class HtmlHead

java.lang.Object
com.webmethods.caf.faces.bean.mws_ui.HtmlHead

public class HtmlHead extends Object
Managed Bean to assist rendering the MWS parts of the html tag.
  • Constructor Details

    • HtmlHead

      public HtmlHead()
  • Method Details

    • getSystemTitle

      public String getSystemTitle() throws PortalException
      Return the MWS system title.
      Throws:
      PortalException
    • getPresentationData

      protected IPresentationData getPresentationData()
      Returns:
      Throws:
      PortalException
    • isTestMode

      public boolean isTestMode()
      Returns whether MWS is flagged as running in test mode. The template may use this information to render additional information while testing.
    • getPortalBuild

      public String getPortalBuild()
      Returns the MWS build number.
    • getResourceURI

      public IURI getResourceURI()
      Returns the URI of the current resource as specified in the browser address.
    • getFullServletPath

      public String getFullServletPath()
      Returns the ful sertlet path of the MWS root servlet context.
    • getServerURL

      public String getServerURL()
      Returns the servler url of the current request. The value may differ from the configured front-end url of the cluster configuration.
    • getClipboardURI

      public String getClipboardURI()
      Returns a brief text description of the clipboard contents
    • getImagesPath

      public String getImagesPath()
      Returns the root path for images in the MWS root servlet context
    • getCurrentURL

      public String getCurrentURL()
      Returns the full URL of the current http request
    • getAxsrft

      public String getAxsrft()
      Returns the anti-cross-site-request-forgery-token for the current http request
    • isGrantedSetStartPageRights

      public boolean isGrantedSetStartPageRights() throws PortalException
      Returns true if the current user has set-start-page rights.
      Throws:
      PortalException
    • getPopupMenuItems

      public String getPopupMenuItems() throws PortalException
      Returns a list of tools menu items available to the current user.
      Throws:
      PortalException
    • getGeneralJS

      public String getGeneralJS()
      Returns the URL of the MWS general.js file.
    • getEffectsJS

      public String getEffectsJS()
      Returns the URL of the MWS effects.js file
    • getScript

      public String getScript(String url)
      Returns the full URL of a specific client side script.
    • getEnableCMDBtnTimeout

      public boolean getEnableCMDBtnTimeout()
      Returns the system property value.