« Return to Thread: A controller qustion

Re: A controller qustion

by Peter Ledbrook-2 :: Rate this Message:

Reply to Author | View in Thread

2008/5/16 Fox Woo <foxwu718@...>:

> Hi,
>    I define tow methods in my controller:
>       def revise = {
>             def item
>              // blah blah
> }
>    def check = {
>             def item
>              // blah blah
> }

Make sure your curly braces are all fine. The error probably means
that one of your actions defines "item" twice, or the "check" action
is inside the "revise" action (due to curly brace mismatch).

Cheers,

Peter

--
Software Engineer
G2One, Inc.
http://www.g2one.com/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: A controller qustion

LightInTheBox - Buy quality products at wholesale price