Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > ColdFusion

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-06-2007, 05:47 AM   PM User | #1
yen
New to the CF scene

 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
yen is an unknown quantity at this point
close show modal dialog and redirect back to main search page

hello.
i m using the CFML with the javascript to open a showmodal dialog and pass the value person id to a dialog window from a parent window "add person " page. after i excute the sql in the modal dialog..i wish to close the dialog and then redirect back to the my main search screen.but my problem is after i click the OK button on the dialog ..i can close the window dialog but i failed to redirect back to the main search screen.can anyone help me?thanx alot.
yen is offline   Reply With Quote
Old 02-27-2007, 06:32 PM   PM User | #2
cfmatt
New Coder

 
Join Date: Feb 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
cfmatt is an unknown quantity at this point
ah got it, you dont want the add person page you need the search screen to be loaded after closing the dialog, am i correct?

Last edited by cfmatt; 02-27-2007 at 06:34 PM..
cfmatt is offline   Reply With Quote
Old 02-27-2007, 08:50 PM   PM User | #3
nikkiH
Senior Coder

 
nikkiH's Avatar
 
Join Date: Jun 2005
Location: Near Chicago, IL, USA
Posts: 1,973
Thanks: 1
Thanked 32 Times in 31 Posts
nikkiH is on a distinguished road
If you're talking a "real" modal dialog, be aware it is internet explorer only.
That said, you probably have your order backwards. You have to first refresh, reload, or redirect (as you desire) the opener, then you can close the child (modal window).
__________________

If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit
http://www.kaelisspace.com/
nikkiH is offline   Reply With Quote
Old 08-10-2007, 09:24 AM   PM User | #4
Nancy.Black
Banned

 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Nancy.Black is an unknown quantity at this point
Quote:
Originally Posted by nikkiH View Post
If you're talking a "real" modal dialog, be aware it is internet explorer only.
That said, you probably have your order backwards. You have to first refresh, reload, or redirect (as you desire) the opener, then you can close the child (modal window).
Cheers for that nikkiH, that worked like a charm.
Nancy.Black is offline   Reply With Quote
Old 08-13-2007, 01:33 PM   PM User | #5
Chabick
New to the CF scene

 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Chabick is an unknown quantity at this point
are there any specific features to open showmodal dialog for mozilla firefox in comparison with ie?
Chabick is offline   Reply With Quote
Old 09-23-2007, 10:21 AM   PM User | #6
businessservice
New to the CF scene

 
Join Date: Aug 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
businessservice is an unknown quantity at this point
Nope it just works with IE
businessservice is offline   Reply With Quote
Old 11-06-2007, 09:35 AM   PM User | #7
zorknov
New to the CF scene

 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
zorknov is an unknown quantity at this point
i tried porting a wordpress blog to CF but didn't work out? could smarty be used for a blog with CF? is it better than PHP? basically i was trying to build a lifestyle blog at http://www.pakistanigirls.org but found that wordpress templates pretty much sucked. i also wanted to include at least some community features such as article submission forms.

would Blog CFC be a good chioice?
zorknov is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:27 AM.


Advertisement
Log in to turn off these ads.