To be clear, RewriteResponse is a LiftResponse, and therefore, valid. If you want to display the contents of your 404.html, checkout NodeResponse... just load up your template using the template helpers (this will give you NodeSeq) and then you can present that back to the user. Job done.
Cheers, Tim On 29 Dec 2009, at 15:23, Alex Black wrote: > But of course RewriteResponse is not a LiftResponse. Whats the best > way to do this? Basically I've got a template called 404.html which > I'd like to display whenever there is a 404. > > I Just thought of something, perhaps I could add a RewriteRule that > matches everything? -- 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.
