Class DefaultWComponent

    • Constructor Detail

      • DefaultWComponent

        public DefaultWComponent()
    • Method Detail

      • setTemplate

        @Deprecated
        public void setTemplate​(Class clazz)
        Deprecated.
        Associates a velocity template with this component. A simple mapping is applied to the given class to derive the name of a velocity template.

        For instance, com.github.bordertech.wcomponents.WTextField would map to the template com/github/bordertech/wcomponents/WTextField.vm

        Parameters:
        clazz - the class to use to retrieve the template.