Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Fix Version/s: 6.2.0 CE M3
    • Component/s: WCM
    • Labels:
      None

      Description

      The pattern:

      <portlet:actionURL name="doSomething" var="doSomethingURL">
      <portlet:param name="mvcPath" value="..." />
      <portlet:param name="redirect" value="<%= redirect %>" />
      <portlet:param name="backURL" value="<%= backURL %>" />
      </portlet:actionURL>

      <aui:form action="<%= doSomethingURL %>">

      May break if redirect and backURL point to long urls, thus making doSomethingURL too long.

      The better pattern is:

      <portlet:actionURL name="doSomething" var="doSomethingURL" />

      <aui:form action="<%= doSomethingURL %>">
      <aui:input name="redirect" type="hidden" value="<%= redirect %>" />
      <aui:input name="backURL" type="hidden" value="<%= backURL %>" />

      That way, the url doSomethingURL never gets too long.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Subcomponents