Class UploadAction

  • All Implemented Interfaces:
    com.xpn.xwiki.internal.web.LegacyAction

    @Component
    @Named("upload")
    @Singleton
    public class UploadAction
    extends XWikiAction
    Action that handles uploading document attachments. It saves all the uploaded files whose fieldname start with filepath.
    Version:
    $Id: 3224e9d8b449218784e0467f805c2cb17029b725 $
    • Field Detail

      • FILE_FIELD_NAME

        @Unstable
        public static final String FILE_FIELD_NAME
        The prefix of the accepted file input field name.
        Since:
        14.10
        See Also:
        Constant Field Values
    • Constructor Detail

      • UploadAction

        public UploadAction()