Skip to content

Add spring:url feature to FreeMarker macros [SPR-5937] #10606

Closed

Description

@spring-projects-issues

Dave Syer opened SPR-5937 and commented

Add spring:url feature to FreeMarker macros. The spring:url tag is nice in JSPs, and while FreeMarker supports JSP tags, they only work in container, so it would be nice to have this feature in the macros (consistent with other taglib features that are ported to spring.ftl).


Affects: 3.0 RC3

Referenced from: commits 32ebf18

Activity

  1. spring-projects-issues commented on Dec 7, 2009

    @spring-projects-issues
    CollaboratorAuthor

    Alex Rau commented

    I think this one is already implemented. I'm using it in 3.0.0.RC2 (found it by accident in spring.ftl) for creating context root relative links.

  2. spring-projects-issues commented on Dec 7, 2009

    @spring-projects-issues
    CollaboratorAuthor

    Alex Rau commented

    See #5394

  3. spring-projects-issues commented on Dec 7, 2009

    @spring-projects-issues
    CollaboratorAuthor

    Dave Syer commented

    There are some basic utilities (matching the old 2.0 features), but they don't have all the features of the JSP tags in 3.0 yet.

  4. spring-projects-issues commented on Jun 5, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Dave Syer commented

    Added url params and template building features, roughly matching UrlTag. E.g. from unit tests:

    <@spring.url relativeUrl="/aftercontext/{foo}?spam={spam}" foo="bar" spam="bucket"/>
    
  5. added
    type: enhancement
    in: web
    on Jan 11, 2019
  6. added this to the 3.1 M2 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webtype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions