0
我在「grails-app/views/teamplates」目錄下創建了一個「_emailTemplate」文件。它是一個html模板文件,該文件的內容低於,如何獲取存儲在grails-app/views/teamplates目錄下的gsp文件並在Grails中修改它
<html>
<strong>Client: </strong>${client}<br/>
<strong>Training: </strong>${training}<br/>
<strong>Dates: </strong>${dates}<br/>
</html>
我希望加載這個文件,並與特定的值替換佔位符像
${client} with the value of client variable etc.
如何做到這一點。
Grails不是首字母縮寫詞 - 它是「Grails」,而不是「GRAILS」。 – 2012-07-16 14:47:20