Would this work? Create a fuseaction that takes the variable attributes.editFuseaction, in that fuseaction is where your form with the mentioned textarea will reside. Build the form like so:
<textarea>
<cfmodule template="index.cfm" fuseaction="#attributes.editFuseaction#">
</textarea>
That would grab all of the layout as well, which is what you wanted.
Adam.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 11, 2002 7:49 PM
> To: [EMAIL PROTECTED]
> Subject: Layout question
>
>
> Hi All,
>
> I have an application which has a default layout file that
> works well. I
> now need a way to take the final output, that is, the HTML
> code produced
> by my application, which is displayed inside my layout via:
>
> <cfoutput>#fusebox.layout#</cfoutput>
>
> And then have all of it(layout HTML included) put into a
> textarea input.
> Is there a way to do this without using a new layout file.
>
> It might sound like an odd request, but it is for creating code for
> someone who needs to cut and paste the HTML for an email. I actually
> need to use some regex's to replace the image references with ones
> useable in an email (http://...) but that is something I can do if
> someone can help me with the first part.
>
> I'm hoping this is an easy one, so istead of dreaming up countless
> inefficient ways of doing this, I thought I'd throw it out there for
> some expert advice :)
>
> Thanks.
>
> Rich
>
>
>
==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
