'attachURL' of 'dhtmlxwindows' does not accept xtml files

Hi,

I want to open xhtml file in a popup window using dhtmlxwindows.

var win = dhxLayout.dhxWins.createWindow(“cancelHL7EditingPopUp”, 500, 300, 250, 200);
win.attachURL(“validationSucessful.xhtml”);

The popup does not show xhtml file, a blank popup is shown in Firefox and in IE it asks user to save the attched xhtml file. If I attach html file then it is rendered properly.

Thanks in advance!!!

-K Himaanshu…

Hi,

attachURL loads the page into an iframe. Try to load the same page into any other iframe - an the result will be same. This behaviour depends on web-server settings and doesn’t relate to our component.

It would be better to use .html instead of .xhtml