Adam,
I need to take HTML form and take those form field to populate a
word document that the user can then print. I'm using a CF page to red in
the template document (RTF) file and then replace placeholders with the form
data. I then use the cfcontent tag to allow the user to print of save the
resulting word document.
Brian
> -----Original Message-----
> From: Adam Cameron [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, 1 September 2004 10:01
> To: CFAussie Mailing List
> Subject: [cfaussie] Re: Using the cfcontent tag.
>
> > I have an application that creates a word document. What I want it to
> do is
> > create the document and then go to a different page, with cflocation.
> If I
> > include cflocation in the page then if does the cflocation and not the
> > cfcontent.
>
> I'm not really understanding what part <cfcontent> is playing in this? If
> you're wanting to return this Word doc as the response to the request,
> sure, use <cfcontent> to return the file. However if you're just wanting
> to create the file, then relocate to a different URL... what's <cfcontent>
> got to do with anything? Just create the file, save it, <cflocation> to
> wherever you want them to go.
>
> <cfcontent> just changes the response header to tell the browser to treat
> the incoming data as something other than a stream of HTML (treat it like
> a
> Word doc, for example) it's got no part in the "creating the file"
> process.
>
> Maybe I'm misunderstanding your requirement?
>
> Adam
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
-----------------------------------------------------------------------------------
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related
entities ("Suncorp").
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 1800 689 762
or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does not
necessarily reflect the view of Suncorp. The content, including attachments, is a
confidential communication between Suncorp and the intended recipient. If you are not
the intended recipient, any use, interference with, disclosure or copying of this
e-mail, including attachments, is unauthorised and expressly prohibited. If you have
received this e-mail in error please contact the sender immediately and delete the
e-mail and any attachments from your system.
If this e-mail constitutes a commercial message of a type that you no longer wish to
receive please reply to this e-mail by typing Unsubscribe in the subject line.
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/