Here's the setup of my problem, and i'm not sure how to get started.
initial screen -> my user is on a VF page and makes some HTML selections. Also, they select a number of notes and attachments. No DML occurs
final screen --> my user is on the email template page, and an attachment is created based on the selections in the initial screen. Also, each note and attachment they selected is added as an attachment to the email template.
How do I do that? I know components let you make attachments for visualforce email templates. One idea is that i do URL hacking and pass a lot of what i need as paramaeters, and then do my soqls in the controller of my component. However, i can't quite put the pieces together
Any better ideas?