Class WebappFormControlRendererRegistry
java.lang.Object
ro.sync.ecss.extensions.api.webapp.formcontrols.WebappFormControlRendererRegistry
Registry for form control renderers used in the Author Reviewer Webapp.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getHTMLContentCss
(String htmlDescriptionURL) Used from the context of an oxy_htmlContent() form control.getRenderer
(AuthorInplaceContext context) Returns the renderer for the specified type of control.
-
Constructor Details
-
WebappFormControlRendererRegistry
public WebappFormControlRendererRegistry()Constructor.
-
-
Method Details
-
getRenderer
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
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.
-