« Return to Thread: A controller qustion

A controller qustion

by Fox Woo :: Rate this Message:

Reply to Author | View in Thread

Hi,
   I define tow methods in my controller:
      def revise = {
            def item
             // blah blah
}
   def check = {
            def item
             // blah blah
}
When I compile the code I got the exception: The current
scope already contains a variable of the name item.
Dose it mean I can not define a local variable which is accessible within the method

--
爱生活,爱FOX

 « Return to Thread: A controller qustion

LightInTheBox - Buy quality products at wholesale price