Class IframePortlet

    • Constructor Detail

      • IframePortlet

        @DataBoundConstructor
        public IframePortlet​(String name,
                             String divStyle)
    • Method Detail

      • getIframeSource

        public String getIframeSource()
      • getEffectiveUrl

        public String getEffectiveUrl()
      • getDivStyle

        public String getDivStyle()
      • setIframeSource

        @DataBoundSetter
        public void setIframeSource​(String iframeSource)
      • isIframeSourceValid

        public boolean isIframeSourceValid()
      • isUseSandbox

        public boolean isUseSandbox()
      • getSandboxValue

        public String getSandboxValue()
      • getUrlError

        @CheckForNull
        protected static final String getUrlError​(String url)
        Checks if the passed string is a valid HTTP or relative URL.
        Returns:
        Localized error message or null if URL is valid.