Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 158 for validate_ (0.04 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

     * referenced in HTML documents. This generator extracts images from HTML content
     * and processes them to create thumbnail images based on configured dimensions
     * and format settings.
     *
     * <p>The generator validates image MIME types, processes image data through
     * ImageIO operations, and applies scaling and cropping to generate thumbnails
     * that meet the specified size requirements.</p>
     *
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         * @return HTML response for the synonym dictionary index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            synonymPager.clear();
            return asHtml(path_AdminDictSynonym_AdminDictSynonymJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

         * Upload a design file.
         * @param form The upload form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> asListHtml(form));
            verifyToken(this::asListHtml);
            final String uploadedFileName = form.designFile.getFileName();
            String fileName = form.designFileName;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertNotNull(constraint, "Constraint annotation should be present");
            assertEquals("Validator class should be UriTypeValidator", UriTypeValidator.class, constraint.validatedBy()[0]);
            assertEquals("Should have exactly one validator", 1, constraint.validatedBy().length);
        }
    
        // Test default values
        @Test
        public void test_defaultValues() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         *
         * @param form the edit form
         * @return HTML response for the edit page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
            final String id = form.id;
            fileConfigService.getFileConfig(id).ifPresent(entity -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/validation/FessActionValidator.java

    import org.lastaflute.web.validation.ActionValidator;
    
    /**
     * Fess-specific action validator that extends the LastaFlute ActionValidator.
     * This validator provides validation functionality for Fess web actions with custom
     * message handling and runtime group validation.
     *
     * @param <MESSAGES> the type of user messages used by this validator
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

         * @return HTML response for the web config edit form
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            webConfigService.getWebConfig(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, copyOp -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  8. src/main/webapp/js/admin/searchlist.js

        window.navigator.userLanguage ||
        window.navigator.browserLanguage;
    
      if (browserLang) {
        langCode = browserLang.split(SEP_CHAR)[0];
      } else {
        langCode = "en";
      }
    
      $.validate({
        modules: "html5",
        lang: langCode
      });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Sep 12 06:47:49 GMT 2018
    - 422 bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

         * Show the edit page.
         * @param form The edit form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            badWordService.getBadWord(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

         * Show the edit page.
         * @param form The edit form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            boostDocumentRuleService.getBoostDocumentRule(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top