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

<hst:resourceURL /> and parameter.namespace.ignored

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.13
    • 2.24.14, 2.26.02
    • None
    • None

    Description

      I posted a message on the mailinglist some time ago with regards to <hst:actionURL /> and parameter.namespace.ignored: http://hippo.2275632.n2.nabble.com/hst-actionUrl-parameters-and-parameter-namespace-ignored-td7579813.html#a7579817

      The reply was that you're not really supposed to use <param /> inside for your actionURL, but use normal form fields instead. Okay fair enough. But now I'm facing the same issue with <hst:resourceURL />. It seems to me that that would be a normal usecase right?

      In short:

      • turn on parameter.namespace.ignored
      • create a resource link with a parameter <hst:resourceURL resourceId="someId"><hst:param name="x" value="y"/></hst:resourceURL>
      • observe tat request.getParameter("x") in your component returns null instead of the expected 'y'.

      A rather ugly workaround is to check for both request.getParameter(param) and request.getParameter(request.getReferenceNamespace() + ":" + param).

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aukevanleeuwen@gmail.com Auke van Leeuwen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: