Class WebappFormControlRendererRegistry
- java.lang.Object
-
- ro.sync.ecss.extensions.api.webapp.formcontrols.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 Summary
Constructors Constructor Description WebappFormControlRendererRegistry()
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getHTMLContentCss(java.lang.String htmlDescriptionURL)
Used from the context of an oxy_htmlContent() form control.WebappFormControlRenderer
getRenderer(AuthorInplaceContext context)
Returns the renderer for the specified type of control.
-
-
-
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 parameterInplaceEditorCSSConstants.PROPERTY_HREF
.- Returns:
- The CSS as string.
-
-