Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8330865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:15:02+00:00 2026-06-09T02:15:02+00:00

In our application which is based on grails 2.0.4 we have overwritten the grails

  • 0

In our application which is based on grails 2.0.4 we have overwritten the grails ApplicationTagLib. After the migration to grails 2.1.0 overwritting of the ApplicationTagLib is no longer working. In our gsp the returned result is just empty.

Here is the simplified TagLib which is used by us:

class CustomizedGrailsTagLib implements ApplicationContextAware {
  // grails native taglib classes
  def applicationTagLib

  void setApplicationContext(ApplicationContext applicationContext) {
    applicationTagLib = applicationContext.getBean('org.codehaus.groovy.grails.plugins.web.taglib.ApplicationTagLib')
  }

  def createLink = { attrs ->
    // call native create link after modifications
    def link = applicationTagLib.createLink.call(attrs)
    return link
  }
}

When debugging we see that the variable link has the correct value (e.g. /enterprise20/user/showImage/7). But afterwards in the gsp the output is empty.

GSP call:

${createLink(controller:'user', action:'showUser', id: userInstance.id)}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:15:03+00:00Added an answer on June 9, 2026 at 2:15 am

    Rather than returning the value, try writing it to out:

    def createLink = { attrs ->
      // call native create link after modifications
      def link = applicationTagLib.createLink.call(attrs)
      out << link
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to integrate NLog into our application which is C# based using
Our Web application is based on IE9, which means only IE9 can open the
After a couple of months of using our application (which internally uses Jackrabbit 1.6.4
I have an application which obtains data in JSON format from one of our
In our application, we have some forms which need to show some data specifically
In our application we have implemented role-based forms authentication. This has been handled using
at work we have a web-based PHP-application which acts as the single UI that
I am working on a web-based application which is deployed in the Tomcat server.
i have developed one windows (desktop) based application which sends pdf as an attachments.
I have developed a web based application which allows a client/user to upload a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.