robin bakkerus <[email protected]> writes:

> I get the error "illegal start of statement", in the following code:
>
>      def handleYear(year: String) {
>               ... the form's been submitted... do something
>     }
>
> In the Show class as described on page 14 and 15

You need a "=" before the function body:

      def handleYear(year: String) = {
                ... the form's been submitted... do something
     }

/Jeppe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to