Quantcast
Channel: Jontas » Scala
Browsing all 4 articles
Browse latest View live

Adding a favicon for a liftweb application

The favicon.ico should be placed in the src/main/webapp folder. Even a blank file here with no content (but the correct name) will stop the server complaning about the favicon not beeing found and that...

View Article



Scala lift figuring out the session id

If you need to use the session id of the current session then it can be fetched from S. S.containerSession.map(_.sessionId).openOr(""))

View Article

Scala lift create an empty box

Creating an empty box in scala lift is not hard, simply fill it with None. var emptyBox:Box[MyThing] = Box(None);

View Article

Scala lift list.length() error: Int does not take parameters

When using myList.length() you will get an error message similar to this one [INFO] Compiling 10 source files to /.../target/classes at 1317721118837 [ERROR]...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images