+ Start a Discussion

Custom component and contentType as Excel


I know that you can render a VF page as excel by using the contentType attribute on the Page tag. 


My page has selection criteria at the top and a table of information at the botton. But I don’t want to have to re-create the entire page (or even the table information) , and maintain two pages that are basically the same.  So, I’m wondering if somehow custom Components can be used?


Has anybody done this?  Any examples?