Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一个小问题......
将翻译放在其他标签内的视图中的更优雅的方法是什么?
模式一:
<g:submitButton name="signup" value="${g.message(code:'signUp')}"/>
或模式 2:
<submitButton id="signInOrUp" name="signInOrUp" value="<g:message code='signUp' />"/>
谢谢你。