Class CmsWidgetUtil

  • public final class CmsWidgetUtil
    extends java.lang.Object
    Utility methods for getting widget informations out of content definitions.

    • Method Detail

      • collectWidgetInfo

        public static CmsWidgetUtil.WidgetInfo collectWidgetInfo​(CmsObject cms,
                                                                 CmsXmlContentDefinition rootContentDefinition,
                                                                 java.lang.String path,
                                                                 CmsMessages messages)
        Collects widget information for a given content definition and content value path.

        cms - the the CMS context to use
        rootContentDefinition - the content definition
        path - the path relative to the given content definition
        messages - the message bundle to use
        the widget information for the given path