Title: RE: Layout question

 
> SO basically, I have a fuseaction that does exactly what I want.
> But what I
> need to do is capture all the code that fuseaction creates
> and somehow
> put the code into the textarea form field, which will be
> already using a
> layout.

This will do exactly what you describe:

<texarea>
        <cfmodule template="index.cfm" fuseaction="admin.ShowIssue">
</textarea>

This will take whatever the admin.ShowIssue produces (layout and all), and place it within your textarea. The cfmodule makes a completely new request to your fusebox.

Adam.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 12, 2002 1:53 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Layout question
>
>
> Thanks for the reply Adam.  I not sure if I'm clear on your
> suggestion. 
> But perhaps that is becasue I'm not explaining it properly.
>
> The layout (and content) that I want in the text area
> formfield is goin
> to appear in the layout of another section, the admin area. SO
> basically, I have a fuseaction that does exactly what I want.
> But what I
> need to do is capture all the code that fuseaction creates
> and somehow
> put the code into the textarea form field, which will be
> already using a
> layout. I don't see how I get the content to use one layout
> and then put
> it all *that* content into the textarea formfield, which is inside
> another layout.
>
> Here is the fuseaction that produces the result I want to capture.
>
>       <!--- View Issue --->
>       <cfcase value="ShowIssue">
>               <!--- stop main layout --->
>               <cfset attributes.StopLayout=True>
>               <!--- set layout to Issue layout --->
>               <cfset attributes.IssueLayout=True>
>               <cfinclude template="qry_Issue.cfm">
>               <cfinclude template="dsp_Issue.cfm">
>       </cfcase>
>
> Thanks,
>
> Rich
>
> Cantrell, Adam wrote:
> >
> >
> > 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#">
> >
>
>
>

==^================================================================
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
==^================================================================

Reply via email to