It really does ... In fact redirectTo from StatefulSnippet calls
S.redirectTo and passes a function which sets this current snippet on
S when redirect happens.
Br's,
Marius
On Dec 20, 8:44 pm, Oliver Lambert ola...@gmail.com wrote:
No, but as Derek suggests, it sounds a bit like the stateful
Looks like a function will be executed when this request is submitted.
In what conditions are you seeing this? Are you calling S.redirectTo
and pass a function? ... or use RedirectWithState?
Br's,
Marius
On 20 Dec, 05:26, Oliver Lambert ola...@gmail.com wrote:
Hi
I notice lift sometimes
Oliver,
Lift will only create these types of URL when you pass params when
creating a link.
There is a very sophisticated rewriting engine in lift, so a better
question would be what do you want your URL to look like?
Thanks, Tim
Sent from my iPhone
On 20 Dec 2008, at 03:26, Oliver
Im using a net.liftweb.http.S.redirectTo within a stateful snippet.
On 20/12/2008, at 9:40 PM, Marius wrote:
Looks like a function will be executed when this request is submitted.
In what conditions are you seeing this? Are you calling S.redirectTo
and pass a function? ... or use
Are you sure you're using S.redirectTo? For one, that's not what you want if
you want to keep using the same stateful snippet instance. Second, if you're
not calling it explicitly (i.e. using just redirectTo), the this version
of redirectTo on StatefulSnippet may be firing.
Derek
On Sat, Dec 20,
Yeah but there are 2 overloaded versions. Are you also pasing a
function to it?
On 20 Dec, 14:31, Oliver Lambert ola...@gmail.com wrote:
Im using a net.liftweb.http.S.redirectTo within a stateful snippet.
On 20/12/2008, at 9:40 PM, Marius wrote:
Looks like a function will be executed
It sounds like the this version is firing. What should I be using?
On 21/12/2008, at 2:36 AM, Derek Chen-Becker wrote:
Are you sure you're using S.redirectTo? For one, that's not what you
want if you want to keep using the same stateful snippet instance.
Second, if you're not calling it