+ Start a Discussion

Pdf render problems



The pdf version of my VF page shows all input fields incorrectly; e.g. the dropdowns show up as a list of all available choices as opposed to showing only the selected guy, input text fields show up as nothing. Also the buttons don't show properly. Anybody knows of a fix to that?



Message Edited by asadim on 09-29-2009 12:32 PM
Why do you want to render input fields as pdf? better create a page for the output rendered as pdf
Why would I not? :) IMO the task of properly formatting everything that is on the page is the job of the renderer not mine.

Hello asadim

Every apex component can't be rendered in to pdf format.  

See the "Component Reference" for the RenderAs atribute of Apex: Page

It says :

"Standard components which are not easily formatted for print or contain form elements like inputs, buttons, any component that requires JavaScript to be formatted, should not be used."