Class WebappFormControlRendererRegistry


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class WebappFormControlRendererRegistry
    extends java.lang.Object
    Registry for form control renderers used in the Author Reviewer Webapp.
    • Constructor Detail

      • WebappFormControlRendererRegistry

        public WebappFormControlRendererRegistry()
        Constructor.
    • Method Detail

      • getRenderer

        public WebappFormControlRenderer getRenderer​(AuthorInplaceContext context)
        Returns the renderer for the specified type of control.
        Parameters:
        context - The type of the form-control.
        Returns:
        the renderer for the specified type of control.
      • getHTMLContentCss

        public static java.lang.String getHTMLContentCss​(java.lang.String htmlDescriptionURL)
        Used from the context of an oxy_htmlContent() form control. It given the CSS needed to render a block of documentation.
        Parameters:
        htmlDescriptionURL - The URL of the documentation html. The resolved value of oxy_htmlContent's parameter InplaceEditorCSSConstants.PROPERTY_HREF.
        Returns:
        The CSS as string.