TO THE NEW Blog PAGES

Technology

Using Google Analytics for tracking Multiple Steps of a Webflow

In one of our projects, we are using a webflow for an order wizard. We needed to track the number of users converting a draft to a confirmed order using Google Analytics. This would have been simple if the URLs were different for each step. However, that is not the way webflows work and a […]

Grails

Load codecs in Unit tests using Groovy Grails

This post is all about enabling codecs (like encodeAsURL, decodeURL, etc) in your Grails Unit tests. I am assuming that you are already familiar with writing unit tests. Scenario: In our application code, if we have something like below: [groovy] String serviceUrl = "http://example.com/service" String username = "usernameStr" String password = "passwordvalue" String urlStr = […]

Salil
Salil
Read

Grails

Star Rating Made Easy

Hey guys. Since this is my first blog, i don’t even know that the subject I’m going to write on is even bloggable. But here I go. As part of my responsibility in a recent project, I was asked to implement a taglib that could allow a user to rate his likeness for a movie […]

Grails

Editable Label Tag and introduction to Effects Tag Lib

Lately i had some spare time, hence decided to utilise it for developing some cool GUI elements. What is effects tag lib?? It is just a new tag lib which is intended to contain some cool grails tags for GUI manipulations. new tags will be added to it on timely basis, this is the first […]

Technology

GIT –pretty

git log is one of most useful commands to see information about commit , author , date and subject(comment)Β  while using GIT.This displays information in blocks and hardly 5 – 7 can be listed on normal screen size. But git provides –pretty option , so that we can format the output of git log; Here […]

AndroidGrailsMobility

Getting started with Android

Hello world, this is my first blog ever. So, apologies for any kind of mistakes committed :p Now lets get down with the actual business. Today I am going to talk about application development on Android platform. I am still a newbie on Android platform (a recent adapter in fact). I decided to write this […]

Technology

GIT … Lighten up a Bit

Hello there .. Writing my first blog , I am still amazed by the effectiveness of working with Git . No matter how many times you mess up.. you can Β still end up with a Clean Working directory. (Believe me .. πŸ˜‰ Β ) . Β I have also heard about the frustrating merge situations people have […]

Manoj Mohan
Manoj Mohan
Read

Grails

Using Groovy execute bash scripts

Hi Friends, Recently I had to execute bash script using groovy on a windows server. Though I could easily make the similar script run on linux, but on windows it just didn’t work as it was unable to recognize the internal DOS commands like cp, rm etc. On linux the following code worked but not […]

Amit Jain
Amit Jain
Read

Grails

Using TagLib to avoid changes due to change in URLMappings

Recently, I used Taglib to centralize the effect of URL mapping related changes of my grails application. [java] def userPageLink = {attrs, body -> def user = User.read(attrs.id) out << g.link(controller: ‘user’, action: ‘show’, params: [name: user.name]) {body()} } [/java] So wherever I need a link to user page, I can use this Taglib instead […]

Mohd Farid
Mohd Farid
Read

Grails

File Compression

Creating a zip file using AntBuilder. def ant = new AntBuilder() ant.zip( destfile: destPath, basedir: basePath, includes: includeFiles, // Comma seperated file names excludes: excludeFiles, // Comma seperated file names level: 9 // maximum compression )

Grails

File Uploading using plupload plugin of jquery.

In my grails project i was having the requirement of having multiple file uploading, but in current implementation there was the problem of button being not loaded in Internet Explorer.For that i found plupload very cool to implement this. It has very cool feature of drag and drop and support for almost all browser. Actually […]

Anuj Aneja
Anuj Aneja
Read

Technology

JQGrid Expanding SubGrid on page load

Hi,   Recently guys, i faced problem while expanding the JQGrid SubGrid onLoad of the page.   Initially, i used the following code on gridComplete Event of JQGrid, Using the code given below, i am only able to expand grid but without data populated in subgrid. gridComplete: function() { var rowIds = $(“#testTable”).getDataIDs(); $.each(rowIds, function […]