Thank you, it's working.
Another (newbie) question:
How do I submit the form automatically when the user change the value
in select?
I have:
lift:LanguageUtils.changeLanguage form=post
My Language is: languageSelecction:language/
languageSelecction:changeLanguage/
In LiftRules:
var localeCalculator: Box[HttpServletRequest] = Locale =
defaultLocaleCalculator _
def defaultLocaleCalculator(request: Box[HttpServletRequest]) =
request.flatMap(_.getLocale() match {case null = Empty case l: Locale =
Full(l)}).openOr(Locale.getDefault())
You can change the
FYI - if you want an example, check this out:
http://github.com/dpp/liftweb/blob/29f44b91e28eaceaa784322eaad8f2bb909fa9aa/
sites/JPADemo/JPADemo-web/src/main/scala/bootstrap/liftweb/Boot.scala#L67
Cheers, Tim
--~--~-~--~~~---~--~~
You received this message