Class Upload

    • Constructor Detail

    • Method Detail

      • processSubmission

        protected void processSubmission​(java.lang.String controlName)
        Description copied from class: AbstractField
        Method implemented by subclasses to actually do the work of processing the submission of the form. The element's controlName property will already have been set. This method is only invoked if the field is not disabled.
        Specified by:
        processSubmission in class AbstractField
        Parameters:
        controlName - the control name of the rendered element (used to find the correct parameter in the request)
      • beginRender

        protected void beginRender​(MarkupWriter writer)
        Render the upload tags.
        Parameters:
        writer - Writer to output markup
      • isRequired

        public boolean isRequired()
        Description copied from class: AbstractField
        Returns false; most components do not support declarative validation.
        Specified by:
        isRequired in interface Field
        Overrides:
        isRequired in class AbstractField
        Returns:
        true if a non-blank value is required for the field
        Since:
        5.4