Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-981

sendRedirect() of BaseHstComponent must be able to append query parameters for convenience.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.04.02
    • 2.04.03
    • None
    • None

    Description

      >> Therefore, I'd like to suggest you add new method in BaseHstComponent
      >> (in hst-client.) as follows:
      >>
      >> /**
      >> *
      >> * Facility method for sending a redirect to a SiteMapItemId.
      >> *
      >> * @param path the sitemap path you want to redirect to
      >> * @param request the HstRequest
      >> * @param response the HstResponse
      >> * @param queryParams query parameters to be appended to the
      >> redirection url.
      >> */
      >> public void sendRedirect(String path, HstRequest request,
      >> HstResponse response, Map<String, String [] queryParams);
      >>
      >> I think this would be good enough for your case without confusing the
      >> current basic assumptions.

      Attachments

        Activity

          People

            wko Woonsan Ko (Inactive)
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: