http://mytestdomain.local:8080/tweetcommendation/review/business-name/1_Informotion%20Software_Vancouver,%20BC
However, I found that I couldn't do this using createLink, because it only had the concept of controller / action mapping, and my /review/business-name/${businessName} is not mapped to a controller (it's just defined in DataSource.groovy).
Originally, I had something like this:
${request.contextPath}/review/business-name/${it.id}_${it.name}_${it.location}
That way works. However, I actually found a cleaner solution that I thought I'd share:
${resource(file: "review/business-name/${it.id}_${it.name}_${it.location}")}
Thanks for good information.
ReplyDeletehhttp://www.tips29.com/2012/09/the-version-history-of-ios.html