Yes, your pretty much right.

Can you post your code thus far? (or a cut down version). If you box
the upload holder you should be ok (I think)

private object theUpload extends RequestVar[Box[FileParamHolder]]
(Empty)
SHtml.fileUpload(ul => theUpload(tryo(ul)))

That is, if your upload fails, tryo will stuff it into a Failure
instance.

Thoughts?

Cheers, Tim

On Dec 22, 8:28 am, tiro <[email protected]> wrote:
> Well LiftRules.exceptionHandler was new to me so thanks. Great way to
> deal with the really unexpected (like OutOfMemory). Would do in the
> short run.
> However, the other Tim is correct in that I (and probably other
> people) really want to handle this like similarly to a validation
> error on any other field. LiftRules.exceptionHandler catches so far
> outside, as far as I understand, that the only way to get back into
> the workflow would be to kindly ask the user to press the Back button.

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to