TO THE NEW Blog PAGES

Grails

Configuring multiple senders in Grails Mail plugin

In one of the recent projects, we had to set up a system where emails for different purposes (i.e registration, error reporting etc.) were to be sent out from different email accounts. We were using the Grails Mail plugin which does not provide a clear way to set-up or configure multiple email addresses. With the […]

Technology

JQuery: Send JSON Objects with an Ajax Request

Through my blog, I will discuss about sending JSON objects with ajax request using JQuery. We have number of functions in jQuery to kick-off an ajax request. But for sending JSON objects along with the request, I chose jQuer.ajax(). It takes various parameters url, type, data, dataType, beforeSend etc. Its API can be found here. […]

Grails

Configuring Log4J for logging level specific logs of different packages into file using appenders

Recently i worked upon redirecting all the log related to a specified package in my project to a specific file. It seem very helpful as it provide precise context about run of your application and make it easier to debug as compare to low level debugging method such as println. Here we can also disable […]

GrailsTechnology

Working With Soap Calls

Hey, SOAP is one of the popular ways of working with web-services another being REST (another of my blog)), while working with any of the SOAP based API, you will get a WSDL (web services description/definition language) describing what all methods are supported by the web service. Its a rather complicated XML document. A few […]

Sachin
Sachin
Read

Technology

Accessing remote fonts on Client’s system by @font-face

@font-face allows authors to specify online fonts to display text on their web pages. By allowing authors to provide their own fonts. We Use it I.We choose  font and  we have right now. First of all  font format generate four another format as like(ttf, eot,otf,svg,woff) and upload server where we access. II. Create in css […]

Umar
Umar
Read

Grails

Change SQL datatype for Grails domain String fields

The Grails automatically identifies what should be the datatype of the field in sql table e.g; fields with String datatype are converted to varchar(255), but sometimes we need to store the data more than 255 characters. In such cases earlier I used to alter the table in the database. But now I found the better […]

Grails

Change default table engine in Grails 1.1

Recently in our project the client had the requirement that he want each table have ‘InnoDB’ but Grails by default provided the MyIsam tables. We highly depends upon the create drop, update feature of grails and We dont want to change the table engine of every table manually. So after reading few docs of Grail […]

Grails

Use custom method for id generation in grails

Hibernate usage in Grails is one of my favorite topic so to learn more about it I just started reading Hibernate. In hibernate I found that user can manually assign the id of object but in grails we need to rely on it and it generates it own sequential ids. Though there is no harm […]

Technology

Changing Location of MySql DataStore

On one of our projects, we had to store the MySql Data at a location different from the default location. This was needed because the server was on an instance-store Amazon instance which meant that the data would get lost if the instance had to be rebooted for some reason. After going through the tutorials […]

Technology

jQuery : Chaining of your custom function calls

Hi Friends, I always used to think how jQuery provides the chaining mechanism, must be something really complex so never cared to find it out. Though there was a desire to to use the same concept in my own custom javascript functions. Recently I realised how easy it is, so thought would share with you […]

Technology

IE 6/7 Z-index issue

Recently I got struck in an IE issue … Z-index did not seem to work on IE 6 or 7 .. After some surfing found a pretty easy solution . i.e use position:relative with z-index ..and voila it works _____________________ Hitesh Bhatia hitesh@intelligrape.com _____________________

Grails

Grails – Installation on windows machine

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. Extract it on the appropriate location…say […]

Services