0
Grails有一些我非常懷疑的標籤。Grails AJAX標籤
<g:remoteLink action="show" id="1" update="success" onLoading="showProgress();">
Show Book 1
</g:remoteLink>
這給了我這個垃圾在頁面上:
<a href="/show/1" onclick="new Ajax.Updater('success','/show/1',{asynchronous:true,evalScripts:true,onLoading:function(e){showProgress();}});return false;">Show Book 1</a>
什麼是使用這些共識?
這是垃圾,因爲它是 - 在我的腦海 - 不恰當的JS。我切換到jQuery庫,並開始爲這些東西製作自己的標籤。 – 2010-12-02 19:58:01