Hi Srikanth,

It seems getURL(..) is not working properly in IE Modal dialog windows.
That's why its not closing window.

You can use the fscommand(..) instead of getURL(...). Bottom line is, to
close a IE Modal dialog window use fscommand rather then getURL(..). 

Look at the attached files, I have modified popup1_jsp.jsp &
popup1_mxml.mxml only.

HTH,

-abdul

_____ 

From: Srikanth Duvvuri [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 09, 2005 3:22 PM
To: [email protected]
Cc: Anshul Bhargava
Subject: [flexcoders] closing a popup window



Hi



I have a jsp (popup_jsp.jsp) which embeds a mxml (popup_mxml.mxml) within
it. Clicking a button on this mxml opens a popup window using
showmodaldialog to open another jsp (popup1_jsp.jsp) which embeds a mxml
(popup1_mxml.mxml). clicking the close button on this popup mxml is not
closing the window. Need to know how do we close that window.



Note: I am away for the next couple of days. So it would be useful if you
can do a reply all so that my colleague can check the response and do the
needful to our application



Thanks



Srikanth






Yahoo! Groups Sponsor   

ADVERTISEMENT



<http://us.ard.yahoo.com/SIG=129k4cmov/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705007207:HM/EXP=1108029398/A=2532114/R=2/SIG=12kd7hq1u/*http://clk.
atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1107942998807376> 

<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2532114/rand=952003170> 

_____ 

Yahoo! Groups Links


*       To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<http://groups.yahoo.com/group/flexcoders/> 


*       To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 


*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 



------_=_NextPart_001_01C50E9F.0D70BE77
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE>@font-face {
font-family: Comic Sans MS;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: "Comic 
Sans MS"; TEXT-DECORATION: none
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2>Hi Srikanth,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2>It seems getURL(..) is not working properly in IE Modal 
dialog windows. That's why its not closing window.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2>You can use the fscommand(..) instead of 
getURL(...).&nbsp; 
Bottom line is, to close a IE Modal dialog window use fscommand rather then 
getURL(..). </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2>Look at the attached files, I have modified popup1_jsp.jsp 
&amp; popup1_mxml.mxml only.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2>HTH,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=167345511-09022005><FONT face=Arial 
color=#0000ff size=2>-abdul</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Srikanth Duvvuri 
[mailto:[EMAIL PROTECTED] <BR><B>Sent:</B> Wednesday, February 09, 
2005 3:22 PM<BR><B>To:</B> [email protected]<BR><B>Cc:</B> Anshul 
Bhargava<BR><B>Subject:</B> [flexcoders] closing a popup 
window<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">Hi</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">I have a jsp 
(popup_jsp.jsp) which embeds a mxml (popup_mxml.mxml) within it. Clicking a 
button on this mxml opens a popup window using showmodaldialog to open another 
jsp (popup1_jsp.jsp) which embeds a mxml (popup1_mxml.mxml). clicking the close 
button on this popup mxml is not closing the window. Need to know how do we 
close that window.</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">Note: I am away for the 
next couple of days. So it would be useful if you can do a reply all so that my 
colleague can check the response and do the needful to our 
application</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">Thanks</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'">Srikanth</SPAN></FONT></P>
<P class=MsoNormal><FONT face="Comic Sans MS" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Comic Sans MS'"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"></SPAN></FONT>&nbsp;</P></DIV><BR></BODY></HTML>

------_=_NextPart_001_01C50E9F.0D70BE77--

Attachment: binHLVjEXvfs0.bin
Description: Binary data

Reply via email to