Hello,

> I don't think you need a SessionVar. You can just capture the RequestVar's 
> value in a local val and refer to that in the closure.
> Basically if I understand correctly, this is a typical scenario where you 
> output a form and associate functions with its fields which are to be 
> executed on the *next* request when it's submitted. That request will use a 
> new snippet instance for its output, but first it executes your functions, 
> which have captured references to whatever they refer to.

yes, what I'm doing is I capture the value in a function and later in that 
function I update the request variable with the captured value so that the form 
is rendered correctly.

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


Reply via email to