You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Michael Williamson <mw...@kcp.com> on 2009/03/30 18:11:36 UTC

open a page in a Modal Dialog

I am using the following javascript function to display a page.

function Rework_Click(button, lineNo)
{
	args = "dialogWidth:300px;dialogHeight:350px;center:yes";
	url = "rework?lineNo="+lineNo;
             tvalue = window.showModalDialog(url,"",args);
	if(rtvalue == 'Cancel')
	{
		
	}
}

The page opens in the dialog just fine but when I submit the page, it
renders its response to a new window not the dialog window.
-- 
View this message in context: http://www.nabble.com/open-a-page-in-a-Modal-Dialog-tp22786741p22786741.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org