Class WebappFormControlRendererRegistry

java.lang.Object
ro.sync.ecss.extensions.api.webapp.formcontrols.WebappFormControlRendererRegistry

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

    • WebappFormControlRendererRegistry

      public WebappFormControlRendererRegistry()
      Constructor.
  • Method Details

    • 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 String getHTMLContentCss(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.