- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addErrorsStorageNoUploadFile (0.11 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
public JsonResponse<ApiResult> post$upload(final UploadForm form) { validateApi(form, messages -> {}); if (form.file == null) { throwValidationErrorApi(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL)); } final String fileName = form.file.getFileName(); try { uploadObject(getObjectName(form.path, fileName), form.file);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
public HtmlResponse upload(final ItemForm form) { validate(form, messages -> {}, () -> asListHtml(form.path)); if (form.uploadFile == null) { throwValidationError(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL), () -> asListHtml(form.path)); } verifyToken(() -> asListHtml(form.path)); try { uploadObject(getObjectName(form.path, form.uploadFile.getFileName()), form.uploadFile);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
* <pre> * message: Upload file is required. * </pre> * @param property The property name for the message. (NotNull) * @return this. (NotNull) */ public FessMessages addErrorsStorageNoUploadFile(String property) { assertPropertyNotNull(property); add(property, new UserMessage(ERRORS_storage_no_upload_file)); return this; } /**
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 119.9K bytes - Viewed (0)