Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for getViewHelper (0.1 seconds)

  1. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            }
            return systemHelper;
        }
    
        /**
         * Gets the view helper component.
         * @return The view helper.
         */
        public static ViewHelper getViewHelper() {
            return getComponent(VIEW_HELPER);
        }
    
        /**
         * Gets the Samba helper component.
         * @return The Samba helper.
         */
        public static SambaHelper getSambaHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                }
            }
            if (!fessConfig.isSearchFileProxyEnabled()) {
                return HtmlResponse.fromRedirectPathAsIs(targetUrl + hash);
            }
            final ViewHelper viewHelper = ComponentUtil.getViewHelper();
            try {
                final StreamResponse response = viewHelper.asContentResponse(doc);
                if (response.getHttpStatus().orElse(200) == 404) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java

                // Facet query views for filter UI (file type, timestamp, size)
                RenderDataUtil.register(data, "facetQueryViewList", ComponentUtil.getViewHelper().getFacetQueryViewList());
            });
        }
    
        /**
         * Clears the chat session.
         *
         * @param form the chat form containing the session ID to clear
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Mar 10 14:54:51 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                    docMap.put(key, value.getValue());
                });
            } else {
                docMap.putAll(searchHit.getSourceAsMap());
            }
    
            final ViewHelper viewHelper = ComponentUtil.getViewHelper();
    
            final Map<String, HighlightField> highlightFields = searchHit.getHighlightFields();
            try {
                if (highlightFields != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

        public FacetInfo getFacetInfo() {
            return ComponentUtil.getQueryHelper().getDefaultFacetInfo();
        }
    
        @Override
        public HighlightInfo getHighlightInfo() {
            return ComponentUtil.getViewHelper().createHighlightInfo();
        }
    
        @Override
        public String getSort() {
            return sort;
        }
    
        @Override
        public Object getAttribute(final String name) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @return list of FacetQueryView objects
         */
        public static List<FacetQueryView> facetQueryViewList() {
            final ViewHelper viewHelper = ComponentUtil.getViewHelper();
            return viewHelper.getFacetQueryViewList();
        }
    
        /**
         * Creates a URL query string from request parameters that start with the specified prefix.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

        }
    
        /**
         * Get the client IP.
         * @return The client IP.
         */
        protected String getClientIp() {
            return LaRequestUtil.getOptionalRequest().map(req -> ComponentUtil.getViewHelper().getClientIp(req)).orElse("-");
        }
    
        /**
         * The action.
         */
        protected enum Action {
            /**
             * The login action.
             */
            LOGIN,
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                return new String[0];
            }
            // Build allowlist from configured facet queries
            final List<FacetQueryView> facetQueryViewList = ComponentUtil.getViewHelper().getFacetQueryViewList();
            final Set<String> allowedQueries = new java.util.HashSet<>();
            for (final FacetQueryView view : facetQueryViewList) {
                allowedQueries.addAll(view.getQueryMap().values());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final HttpServletRequest request = LaRequestUtil.getOptionalRequest().orElse(null);
            final String clientIp = request != null ? ComponentUtil.getViewHelper().getClientIp(request) : null;
            final String virtualHostKey = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            public String getSimilarDocHash() {
                return request.getParameter("sdh");
            }
    
            @Override
            public HighlightInfo getHighlightInfo() {
                return ComponentUtil.getViewHelper().createHighlightInfo();
            }
        }
    
        /**
         * The request parameters for suggest API.
         */
        protected static class RequestParameter extends SearchRequestParams {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top