Wednesday, 19 November 2014

Grails remoteLink calling

//Through remote link calling
<g:remoteLink controller="Holidays" action="deleteHoliday" params='[date:"${formatDate(format:"yyyy-MM-dd", date:holiday.date)}",id:"${holiday.id}"]' onSuccess="deleteResult(data,'${holiday.id}')" onFailure="reload()">Delete</g:remoteLink>

No comments:

Post a Comment