suganya
11-17-2003, 11:44 AM
i have opened a modal dialog using :
var l_dlgOptions = 'dialogWidth:500px;dialogHeight:280px;scroll:no;dialogHide:yes;status:no;unadorned:no;help:no;resiza ble:no;center:yes;'
window.showModalDialog(parent.OPEN_CFWIZARD_JSP, "cfWizardWindow", l_dlgOptions);
now, in the dialog that opens i have a question for the user and the user is allowed to click yes or no.
when the user clicks on "no", i want to submit the form say form1 and show the user form2 in the same dialog.
what is happening to me is, the form1 gets submitted (thru the struts action class - i am using jsp & struts) and the form2 is getting displayed in a browser window instead of the same dialog's window...
how do i make the form2 also display in the same window as the dialog..
thanks
var l_dlgOptions = 'dialogWidth:500px;dialogHeight:280px;scroll:no;dialogHide:yes;status:no;unadorned:no;help:no;resiza ble:no;center:yes;'
window.showModalDialog(parent.OPEN_CFWIZARD_JSP, "cfWizardWindow", l_dlgOptions);
now, in the dialog that opens i have a question for the user and the user is allowed to click yes or no.
when the user clicks on "no", i want to submit the form say form1 and show the user form2 in the same dialog.
what is happening to me is, the form1 gets submitted (thru the struts action class - i am using jsp & struts) and the form2 is getting displayed in a browser window instead of the same dialog's window...
how do i make the form2 also display in the same window as the dialog..
thanks