Minor ***Breaking Changes*** - ContextPath thingy

9 views
Skip to first unread message

Marius

unread,
Jan 4, 2010, 1:41:22 PM1/4/10
to Lift
All,

As with the fix for issue 269 the signature for
LiftRules.calculateContextPath has been changed from:

var calculateContextPath: (HTTPRequest) => Box[String]

to

var calculateContextPath: () => Box[String]

as the context-path is an environmental concept and not much a request/
request variant. By default this function returns an Empty therefore
the context-path used is the one set in your JEE container for your
application.

Also calcContextPath has been removed.

Br's,
Marius

Timothy Perrett

unread,
Jan 4, 2010, 1:52:24 PM1/4/10
to lif...@googlegroups.com
Awesome work Marius - good to see this in master!!

Cheers, Tim

Sent from my iPhone

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

Reply all
Reply to author
Forward
0 new messages