Class XsltTransformer

    • Method Detail

      • transform

        public CharSequence transform​(Component component,
                                      CharSequence output)
                               throws Exception
        Apply a XSL transformation to the markup generated by a component. The *.xsl resource must be located in the same path as the nearest parent with an associated markup and must have a filename equal to the component's id.
        Specified by:
        transform in interface ITransformer
        Parameters:
        component - The associated Wicket component
        output - The markup generated by the child components
        Returns:
        The output which will be appended to the original response
        Throws:
        Exception