I designing a VisualForce PDF page and I am using a controller extension. The generation of the page happens by clicking on an action associated to an Object to show it's different fields' values.
I want to know if it's possible to check the value of some fields before rendering the PDF itself using the extension (is there a lifecycle method to override ? ) or by using a custom controller.
I want to show an error window if there is an issue.