Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for ViewHelper (0.08 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

    import jakarta.servlet.ServletContext;
    import jakarta.servlet.SessionTrackingMode;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpSession;
    
    public class ViewHelper {
    
        private static final Logger logger = LogManager.getLogger(ViewHelper.class);
    
        protected static final String SCREEN_WIDTH = "screen_width";
    
        protected static final int TABLET_WIDTH = 768;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                docMap.put(Constants.TEXT_FRAGMENTS, viewHelper.createTextFragmentsByQuery());
            }
    
            // ContentTitle
            if (viewHelper != null) {
                docMap.put(fessConfig.getResponseFieldContentTitle(), viewHelper.getContentTitle(docMap));
                docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            text = "111.222" + viewHelper.originalHighlightTagPre + "aaa" + viewHelper.originalHighlightTagPost;
            assertEquals("222" + viewHelper.highlightTagPre + "aaa" + viewHelper.highlightTagPost, viewHelper.escapeHighlight(text));
    
            text = "111\n222" + viewHelper.originalHighlightTagPre + "aaa" + viewHelper.originalHighlightTagPost;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. 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) {
                    logger.debug("Not found: {}", targetUrl);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        protected TimeManager timeManager;
    
        @Resource
        protected SystemHelper systemHelper;
    
        @Resource
        protected AccessTokenHelper accessTokenHelper;
    
        @Resource
        protected ViewHelper viewHelper;
    
        @Resource
        private MessageManager messageManager;
    
        @Resource
        private RequestManager requestManager;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        public static String geoForm() {
            return createForm(Constants.GEO_FORM, GEO_PREFIX);
        }
    
        public static List<FacetQueryView> facetQueryViewList() {
            final ViewHelper viewHelper = ComponentUtil.getViewHelper();
            return viewHelper.getFacetQueryViewList();
        }
    
        private static String createQuery(final String key, final String prefix) {
            return LaRequestUtil.getOptionalRequest().map(request -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        }
    
                        final ViewHelper viewHelper = ComponentUtil.getViewHelper();
                        if (viewHelper != null && !docMap.isEmpty()) {
                            docMap.put(fessConfig.getResponseFieldContentTitle(), viewHelper.getContentTitle(docMap));
                            docMap.put(fessConfig.getResponseFieldContentDescription(), viewHelper.getContentDescription(docMap));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/help/HelpAction.java

                op.setup(form -> {
                    buildFormParams(form);
                });
            }).renderWith(data -> {
                buildInitParams();
                RenderDataUtil.register(data, "helpPage", viewHelper.getPagePath("common/help"));
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    form.sort = sortValueSb.toString();
                }
            }
        }
    
        protected void buildInitParams() {
            buildInitParamMap(viewHelper.getInitFacetParamMap(), Constants.FACET_QUERY, Constants.FACET_FORM);
            buildInitParamMap(viewHelper.getInitGeoParamMap(), Constants.GEO_QUERY, Constants.GEO_FORM);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

    import org.lastaflute.web.util.LaRequestUtil;
    
    public class UserAgentHelper {
        protected static final String USER_AGENT = "user-agent";
    
        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        public UserAgentType getUserAgentType() {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                UserAgentType uaType = (UserAgentType) request.getAttribute(USER_AGENT_TYPE);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top