`
robinfung
  • 浏览: 52690 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
http://ant.apache.org/manual/CoreTasks/javac.html   http://ant.apache.org/manual/using.html#references
http://jira.codehaus.org/browse/GRAILSPLUGINS-2045?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aworklog-tabpanel
selenium
revember use the closure clone: 1 ) class Product { String imgUrl } def p = new Product(imgUrl: "test1") def p1 p1 = {p}.clone() p1.imgUrl="test2" println "--"+p1.imgUrl println p.imgUrl   2 ) class Product { String name String imgUrl } def p ...
reference the .net public static string Format( string format, params object [ ] args );   groovy defstaticint cal(int i,int j,int k,list){     return i+j+k+list.size() }   要调用上面的方法,我们可以: def list = [1,2,3] println cal(*list,[1,2,7])
1) subString the given name def productName = {attrs -> def name = attrs.name int max = 25 max = attrs.max if (name.size() > max) { def result = '' int length = 0 def words = name.split() def preWord int lbCount = 0 ...
stackoverflow
python solution  
圣莫妮卡斯塔特滩, 圣莫尼卡, 洛杉矶, 加利福尼亚州, 美国  
(grails) dynamic decode   --comment resource   http://pastebin.com/x5QW19mL   http://www.fileformat.info/format/w3c/htmlentity.htm    
http://www.groovyq.net/ http://stackoverflow.com/questions/728978/groovy-how-do-i-sort-an-arraylist-of-strings-in-length-of-string-order  
<a onclick="test();">   add the return false in the javascript test function   function test() { ... return false; }      
<a href="javascript:void(0)" style="background-image :url('${createLinkTo(dir: 'images', file: 'arrow_clear.gif')}')"  sort='dsc' onclick="setHiddenSortField('${actionName}', 'advertiserName');">Retailer<img id src="" alt="" width="7&qu ...
grails 's bug description: http://jira.codehaus.org/browse/GRAILS-2764 fetchMode Purpose Allows the configuration of an associations fetch strategy ('eager' or 'lazy') Examples class Author { String name static hasMany = [books:Book] static fetchMode = [books:'eager'] }     In ...
http://css-tricks.com/examples/DifferentSelectionColors/      
Global site tag (gtag.js) - Google Analytics