Grails develop tip 1

一些关于用Grails开发项目过程中的心得。

 语言切换的链接:

<!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --> < class ="flag"  href ="${createLink(action:actionName, controller:controllerName, params: params + [lang:'zh_CN'])}" >
< img  src ="${createLinkTo(dir:'images/flag',file:'zh_CN_S.png')}"  alt ="中国語"  border ="0"   />
</ a >
< class ="flag"  href ="${createLink(action:actionName, controller:controllerName, params: params + [lang:'ja'])}" >
< img  src ="${createLinkTo(dir:'images/flag',file:'ja_JP_S.png')}"  alt ="日本語"  border ="0"   />
</ a >

你可能感兴趣的:(grails)