Chris,
As Charlie suggested, window.open() will definitely do the job.  However,
keep in mind that the client's browser's pop-up blocker may kick in.

Another suggestion would be to display your results in an in-line div
element.  This would involve using a Javascript library like jQuery.  I've
written a simple quickstart guide that is quite similar to the .cfc to .cfm
scenario you described, but only displays the results on a div from the
calling page.

The guide is at:
http://www.365labs.net/cf_jquery/jquery_coldfusion_quickstart.htm

Hope that helps, Chris.

Michael




> -----Original Message-----
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 11, 2007 12:38 PM
> To: CF-Talk
> Subject: Re: Open a Web Page
> 
> assuming the CFC returns a URL to the calling page...
> 
> on the calling page, after the CFC call...
> 
> <script type="text/javascript">
>      <cfoutput>
>      window.open('#YOUR_CFC_RESULT_HERE#', 'title',
> 'new_window_attributes_here');
>      </cfoutput>
> </script>
> 
> opening a new window is going to be client side JS code.  it's not the
> responsibility of the CFC.
> 
> On 1/11/07, Chris Bleile <[EMAIL PROTECTED]> wrote:
> > I am calling a .cfc and performming a query after the query is preformed
> i want to open another web page.  I cannot figure out how to make another
> web browser open up and go to the page i desire.  PLease Help!!!!!!!!!
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266324
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to