I generate a PDF document inside a helper method. the helper method returns a HttpResponse object, which is the response containing the generated PDF. But I can't change the page.response to the one the method returned. How shuld I solve this?
preguntado el 08 de enero de 11 a las 20:01
Get the data out of the response object that you get from the method, and send it into the response object that is handling the response.
I don't see the reason for the method to return a response object; as it can't be used as a response to anything it seems pointless.