On Sun, Mar 1, 2009 at 2:01 PM, Ikai Lan <ikai....@gmail.com> wrote:

>
> I realize this is two years old:
>
> http://scala-blogs.org/2007/12/dynamic-web-applications-with-lift-and.html
>
> First things first, S is now SHtml, but now I am having problems with
> this line:
>
> [WARNING]  error: wrong number of parameters; expected = 0
> [WARNING]       { SHtml.submit("Submit", ignore => (LinkStore ! AddLink
> (url, title))) }


Try:

{ SHtml.submit("Submit", () => LinkStore ! AddLink(url, title)) }

>
>
> I'm trying to look for API documentation, but the API Documentation
> link is not terribly helpful (http://scala-tools.org/mvnsites/
> liftweb/).
>
> Does anyone have any tips on how I can get all the code in this
> example to work or what else might have changed between when the post
> was written and now?
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

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

Reply via email to