On Saturday, February 22, 2003, at 10:24 AM, Vince Bonfanti wrote:
> Note that the BlueDragon implementation is via the new PAGE attribute
> of the
> CFINCLUDE tag (and not via the GetPageContext function), which allows
> you to
> include the output of JSP pages or servlets in a CFML page:
>
> BlueDragon also implement a new CFFORWARD tag to do a "server-side
> redirect"
> equivalent to CFMX's GetPageContext().forward():
>
> BTW, we plan to add support for GetPageContext() in BlueDragon 3.1 in
> order
> to provide compatibility with CFMX, but we still like our
> implementation
> better. :-)
ColdFusion now has all three:
---------- start includeanything.cfm ----------
<!---
The includeanything tag will include any type of page, not just a
CFM template.
@attribute page (required) Relative path to the template you want
to include.
--->
<cfif #thisTag.executionMode# is "start">
<cfparam name="attributes.page" />
<cfscript>
getPageContext().include(attributes.page);
</cfscript>
</cfif>
---------- end includeanything.cfm ----------
---------- start forward.cfm ----------
<!---
The forward tag will perform a server-side redirect.
@attribute page (required) Relative path to the template you want
to forward to.
--->
<cfif #thisTag.executionMode# is "start">
<cfparam name="attributes.page" />
<cfscript>
getPageContext().forward(attributes.page);
</cfscript>
</cfif>
---------- end forward.cfm ----------
Christian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4