When replying to a request with a view response, prepare the view first and generate the response on callback.