I don't want to display the default error page to the user. How do I replace
it with my own?
cheers
Oliver
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
Hi,
Please see LiftRules.browserResponseToException ... this is called
when an exception is thrown from the application. Here you can
intercept the Throwable and redirect to your own error page using
RedirectResponse or RedirectWithState.
Br's,
Marius
On Oct 2, 10:48 am, Oliver [EMAIL
Or you can use LiftRules.logAndReturnExceptionToBrowser ...actually
browserResponseToException is ultimately called by
logAndReturnExceptionToBrowser
On Oct 2, 10:59 am, Marius [EMAIL PROTECTED] wrote:
Hi,
Please see LiftRules.browserResponseToException ... this is called
when an exception
I tried
LiftRules.logAndReturnExceptionToBrowser = {
case (request, e) = println(what is going on);
RedirectResponse(/)
case _ = println(whatis going on 2); RedirectResponse(/)
}
No change in behavior
On 02/10/2008, at 6:03 PM, Marius wrote:
Or you can use
On this subject - I remember some time back we were discussing lift
run levels and potentially different errors / levels of logging for
different run levels. Did this ever come about?
Cheers, Tim
On Oct 2, 3:03 pm, TylerWeir [EMAIL PROTECTED] wrote:
Hey Oliver,
I dropped this in:
I'm writing a wizard-like process, where when they have finished the set of
forms and press submit I don't want the back button to take them back. Is
there any way I can clear out the history?
I guess a related question is, Lift is holding references to objects in its
history that I would like to
Folks,
I've know Al Thompson for longer than any of the other Lift committers.
Cast you mind back to '97... I was doing crazy things with browser-based,
multi-user spreadsheets. Al was my technical liaison at Sun. Now I'm doing
Lift. Al is joining the Scala and Lift communities. He's offered
On Thu, Oct 2, 2008 at 5:13 PM, Oliver [EMAIL PROTECTED] wrote:
I'm writing a wizard-like process, where when they have finished the set of
forms and press submit I don't want the back button to take them back. Is
there any way I can clear out the history?
This is JavaScript magic and I'm
Awesome! Welcome, Al.
--j
On Thu, Oct 2, 2008 at 5:14 PM, David Pollak
[EMAIL PROTECTED]wrote:
Folks,
I've know Al Thompson for longer than any of the other Lift committers.
Cast you mind back to '97... I was doing crazy things with browser-based,
multi-user spreadsheets. Al was my
Thanks for the answers
Another related question - Is there any functionality in lift to prevent
multiple submits (e.g. the browser is slow for whatever reason and the user
presses the submit button multiple times)?
cheers
Oliver
On Fri, Oct 3, 2008 at 10:15 AM, David Pollak [EMAIL PROTECTED]
On Thu, Oct 2, 2008 at 11:07 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
OK, I've run into problems again now that I'm trying to actually use the
enumerations. In my book class I have the variable defined as:
@Type{val `type` = com.foo.jpaweb.model.GenreType}
var genre = Genre.unknown
I tried that before and I got compilation errors, but this time I did a
maven clean test and it all compiled and tested fine. I must have had some
artifact in my targets dir :(
Thanks again for the help!
Derek
On Thu, Oct 2, 2008 at 9:28 PM, Oliver [EMAIL PROTECTED] wrote:
On Thu, Oct 2,
12 matches
Mail list logo