[Lift] Re: What am I doing wrong?

2009-10-06 Thread Ross Mellgren
You are using a dispatch snippet, which means the name after . in the lift tag is passed to the dispatch method of your snippet, rather than using reflection to find a method with the same name. So, you need to add: case addGame = addGame to your def dispatch -Ross On Oct 6, 2009, at

[Lift] Re: What am I doing wrong?

2009-10-06 Thread Rick R
Geez. I knew I was overlooking something stupid. Thanks for your help. On Tue, Oct 6, 2009 at 11:49 AM, Ross Mellgren dri...@gmail.com wrote: You are using a dispatch snippet, which means the name after . in the lift tag is passed to the dispatch method of your snippet, rather than using

[Lift] Re: What am I doing wrong?

2009-10-06 Thread Ross Mellgren
In your bind, you don't capture the nodes inside games:show, so the inner bind is binding the same nodes as the outer bind. Change: bind(games, html, show - gameMap.values.toList.flatMap to: bind(games, html, show - { (html: NodeSeq) = gameMap.values.toList.flatMap ...