[Lift] Re: Partial functions

2008-12-27 Thread Marius
Personally I think Partial functions are great because you can chain them ... see orEse. The other nice thing is pattern matching on function arguments. For instance: val x: PartialFunction[String,String] = { case dog = bark } this PF is defined only if the argument is dog. For anything else

[Lift] Re: Lift and HAppS

2008-12-27 Thread Marius
I don't see in what way. Lift runs in a J(2)EE web container (Jetty, Tomcat ... you name it). Br's, Marius On Dec 27, 5:17 am, Stefan Scott stefanscottal...@gmail.com wrote: Is lift very similar to HAppS? --~--~-~--~~~---~--~~ You received this message because

[Lift] Can liftweb support Chinese?

2008-12-27 Thread OdinUshuaia
I'm a beginner of scala and liftweb. Because I am a Chinese, I want to build a website with liftweb in Chinese. So I follow the wiki of liftweb. But I found that even a static html page, if there are Chinese character in it, it will handle an exception. Exception occured while processing /hello

[Lift] Re: Can liftweb support Chinese?

2008-12-27 Thread David Pollak
Lift supports and language as well as the JVM supports that language. I suspect that you've saved the .html file in an encoding other than utf-8. Lift assumes all xml files it loads are utf-8. Scala's xml parser gets confused sometimes if the file is saved with a different encoding. If saving

[Lift] Re: Can or Box or something else

2008-12-27 Thread Oliver Lambert
Ha :), I really think you've let the Can out of the Box by raising this thread. Don't we all get a vote? After reading all the threads - +1 Box On 27/12/2008, at 10:06 AM, David Pollak wrote: 2008/12/26 Alex Boisvert boisv...@intalio.com Just brainstorming here... not sure if we're