atom feed2 messages in[grails-dev] Global variable in contr...
FromSent OnAttachments
SrilakshmiDec 14, 2007 4:39 am 
Dave KleinDec 14, 2007 3:24 pm 
Subject:[grails-dev] Global variable in controller
From:Srilakshmi (
Date:Dec 14, 2007 4:39:23 am

Hi All, I would like to have a global variable in the controller . How ca I do that ?

Or Can I declare a vriable as static to make it access by all the methods in the class as below :

static def flag = 0 ;

Please help ! Thanks in advance.