def errMsgList = domainClassObj.errors.allErrors.collect{g.message([error : it])}
Wednesday, November 3, 2010
Get Domain Class's Error Message in Grails Controller
The following code snippet can be used to get domain class's error messages in Grails (1.2.2) Controller:-
Reset Netbeans JDK Home
I always need to reset Netbeans JDK Home whenever I install new JDK version, this serves as my own note to remember:-
To reset, change 'netbeans_jdkhome' entry in {NETBEANS_INSTALL_FOLDER}/etc/netbeans.conf.
To reset, change 'netbeans_jdkhome' entry in {NETBEANS_INSTALL_FOLDER}/etc/netbeans.conf.
Subscribe to:
Posts (Atom)