Announcement Announcement Module
Collapse
No announcement yet.
Anchors in RedirectViews? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Anchors in RedirectViews?

    Hello everyone,

    Is there any way to include an anchor in the URL which a RedirectView redirects to? If I just append the anchor to the URL attribute, any URL parameters are appended after the anchor which is incorrect (anchors come after the URL).

    There should be solutions for both configuring a RedirectView and for the shorthand "redirect:url" syntax.

    I have searched this forum, the mailing list, JIRA and the reference documentation. The word "anchor" does not even produce a hit. If no one has got any objections, I would enter a JIRA issue about this.

    Regards,

    Andreas

  • #2
    I recently faced the same issue, and would also like to see this supported by Spring. The (rather hacky) workaround I used was to pass a parameter to the page that was then used to trigger a Javascript redirect to the anchor link.

    Comment


    • #3
      Re: Anchors in RedirectViews?

      Hi!

      Just fyi:

      There is a issue about this in jira, see http://opensource.atlassian.com/proj...browse/SPR-799


      -Kaj

      Comment

      Working...
      X