Package tigase.vhosts

Class AbstractVHostItemExtension<T extends AbstractVHostItemExtension<T>>

    • Constructor Detail

      • AbstractVHostItemExtension

        public AbstractVHostItemExtension()
    • Method Detail

      • addBooleanFieldWithDefaultToCommand

        protected void addBooleanFieldWithDefaultToCommand​(Element commandEl,
                                                           java.lang.String var,
                                                           java.lang.String label,
                                                           java.lang.Boolean value,
                                                           boolean forDefault)
        Method adds a boolean field to the form
        Parameters:
        commandEl - - command element
        var - - field id
        label - - field label
        value - - value for a field
        forDefault - - if true then we are setting values for default instance and we can choose only YES or NO. In other case we can also select DEFAULT to enforce usage of the default value for this vhost item extension.s