Hi, In one of my projects, I needed to deploy the grails application on IBM Websphere Application Server Version 6. So the steps I followed to deploy the application are as follows:- Step-1: Install the IBM Websphere Application Server 6.x 1. Install the Websphere Application Server using its installer. (If it...
Hi, This blog is about installing Grails on windows machine. Before installing grails, make sure that Java SDK 1.4 or higher is installed on your machine. Set JAVA_HOME environmental variable to point to the path where you have installed Java 1. Download the grails latest version from http://www.grails.org/Download 2....
Hi, Recently in my project , i needed to validate an input (whether it is a integer or not) on client side. I tried many codes but they are bit lengthy. Then I encountered the simplest way as given below, which worked. For any input value, it checks whether it is an Integer or not. function isInteger(a) { return...
Hi, In one of my project i need to read message from message bundle in functional test cases. Such that whenever the message or label changes, we can just change it in message.properties and hence avoiding the test to fail. To achieve so, i wrote the following code in my test file and it worked for me. // to get the message...
In my project we need to generate dynamic Pie charts & Area charts. I had various options to do so. 1. Use Google charts API 2. Use Grails Eastwood Chart plugins. 3. Use jFreeChart API. In case of Google charts, the application only generates the required URL & get the chart from google server , which is unacceptable if we...
In my project we needed to generate pdf reports. The tool we used to design reports is IReport 2.0.5 & the plugin used is grails jasper plugin.The plugin works fine with simple reports but fails when it come to complex report which uses subreport.The problem is that the plugin compiles .jrxml file to .jasper file upto 1 level.It do...