Just to clarify what Jeppe wrote, you need the = because that tells the
compiler this method will be returning a concrete type, not Unit (like void
in Java)

Cheers, Tim

On 22/07/2009 11:20, "Jeppe Nejsum Madsen" <[email protected]> wrote:

> 
> 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