It might also be pointed out that cf_bodycontent doesn't have to just be
used for the body of your application, you can define different names for
different blocks.
Useless Overly Simplified Example:
<cf_bodycontent name="popup">
<html>
<head></head>
<body bgcolor="ffffff">
<form>
name:<input type="text" size=10 value="">
password:<input type="password" size=10 value="">
<input type="submit" value="login">
</body>
</html>
</cf_bodycontent>
<cfoutput>
<script language="javascript">
function openWin() {
lrgewin = window.open("about:blank","","height=200,width=300")
setTimeout('update()',500)
}
function update() {
doc = lrgewin.document;
doc.open('text/html');
doc.write('#jsstringformat(request.popup)#');
doc.close();
}
</cfoutput>
<a href="javascript:Void(0);" onclick="openWin()">Login</a>
Posibilities are endless. Even makes transferring new HTML to layers from a
urlpipe easier.
Fred
----- Original Message -----
From: "Sneid" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 2:51 AM
Subject: RE: Cf_BodyContent and other functionalities!!
> Thanks Lee,
>
> I think i've got the point ... cool idea.. !
>
> Regards,
> Sneid
>
>
>
> -----Original Message-----
> From: BORKMAN Lee [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 10:35 AM
> To: Fusebox
> Subject: RE: Cf_BodyContent and other functionalities!!
>
>
> Hi Sneid,
>
> Baically, CF_BodyContent lets you dumpt the output of a block of code into
a
> variable of your choosing, instead of immediately dumping it straight
back
> to your browser.
>
> You then use a layout fuse to actually display the results.
>
> This means that you can choose the order in which you want execute your
> various blocks of code (eg, body, header, footer), entirely independent of
> the order in which blocks are displayed. For example, you can execute
your
> body code before you header code, which is the most common use. That
means
> that your body code can affect your header code, etc.
>
> Have a look at:
> http://www.meta-magic.com/cgi-bin/fusewiki?BodyContent
>
> In effect, CF_BodyContent provides the final means of disconnecting logic
> from presentation.
>
> Does that make any sense?
>
> LeeBB.
>
>
> -----Original Message-----
> From: Sneid [mailto:[EMAIL PROTECTED]]
> .....
>
> I've been using Cf_bodyContent for a little while but my question is:
>
> What are the other functionalities of this tag apart from the fact that it
> enables us to insert a header and a footer?
>
> I've been missing a great deal of things...what are the other possiblities
> that exist????
> .....
>
>
> IMPORTANT NOTICE:
> This e-mail and any attachment to it is intended only to be read or used
by
> the named addressee. It is confidential and may contain legally
privileged
> information. No confidentiality or privilege is waived or lost by any
> mistaken transmission to you. If you receive this e-mail in error, please
> immediately delete it from your system and notify the sender. You must
not
> disclose, copy or use any part of this e-mail if you are not the intended
> recipient. The RTA is not responsible for any unauthorised alterations to
> this e-mail or attachment to it.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists