title: How to override standard behavior of ApplicationTagLib#createLink and g:link?
body: <p><strong>Background</strong>:
  I have grails 1.3.7 application which uses <code>g:createLink</code> and <code>g:link</code> on many pages.</p>
  
  <p>Recently I decided to make big change in url mappings - introduce preceding path element. </p>
  
  <ul>
  <li>Currently I have: <code>/$controller/$action?/$id?</code></li>
  <li>But want to have: <code>/$regionId/$controller/$action?/$id?</code></li>
  </ul>
  
  <p>It was easy to change urlMappings, but I can't figure out how to easily change the behavior how links are built throught the application. </p>
  
  <p>Basically, I don't want to go through each page and change links. But want to do this in one place.</p>
  
  <p><strong>Question</strong>
  How to override ApplicationTagLib#createLink functionality so grails will use this implementation without the need of changes pages which use this tag (or function)?</p>
  
  <p>Any help greatly appriciated!</p>