Class DefaultLumisPortalComponentFactory

    • Constructor Detail

      • DefaultLumisPortalComponentFactory

        public DefaultLumisPortalComponentFactory​(Class<? extends HTMLFragmentComponent> componentClass,
                                                  boolean autoRenderBodyOnly)
        Constructor for the class.
        Parameters:
        componentClass - class that knows how to render the LayoutFileTag.
        autoRenderBodyOnly - if #setRenderBodyOnly(boolean) should automatically be set in case of layout file tags are to be stripped.
        Since:
        6.0.0
      • DefaultLumisPortalComponentFactory

        public DefaultLumisPortalComponentFactory​(Class<? extends HTMLFragmentComponent> componentClass)
        Constructor for the class.
        Parameters:
        componentClass - class that knows how to render the LayoutFileTag.
        Since:
        6.0.0
    • Method Detail

      • createComponent

        public org.apache.wicket.Component createComponent​(org.apache.wicket.MarkupContainer container,
                                                           org.apache.wicket.markup.MarkupStream markupStream,
                                                           LayoutFileTag tag)
        Creates a component for the specified tag.
        Specified by:
        createComponent in interface ILayoutFileComponentFactory
        Parameters:
        container - the tag's container.
        markupStream - the markup stream.
        tag - the tag to be rendered.
        Returns:
        the component.
        Since:
        6.0.0