Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Thursday, February 27, 2014
Binding a Grails date from params in a controller
›
Add the following lines in 'Config.groovy' file grails.databinding.trimStrings=true grails.databinding.convertEmptyStringsToN...
Sunday, February 23, 2014
jQuery Change Event: Proper Binding
›
$("input[name='name']").on("input", function(event) { $("div").prepend("Text: " + $(t...
Wednesday, February 19, 2014
Groovy template engine
›
Included with Groovy are several template engines: SimpleTemplateEngine - for basic templates GStringTemplateEngine - stores the templ...
Tuesday, February 18, 2014
Check the validity of an HTML5 form that does not contain a submit button
›
/* Check if html5 validation enabled */ function hasHtml5Validation () { return typeof document.createElement('input').chec...
Hooking into GORM custom event listener from plugin in Grails
›
In our custom listener, the method ‘onPersistenceEvent’ is called on all GORM events that we filter to what we interested – PreInsert, PreU...
Saturday, February 15, 2014
Accessing i18n Messages from exception (validation errors) in Grails in a Service
›
To access your message, inject the MessageSource into your service: def messageSource And to get the error messages from exception b...
Thursday, February 13, 2014
timezone get list, time zone id, time zone name, time offset using java
›
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package time . zone ; import ...
‹
›
Home
View web version