Don't laugh; we have a website we're implementing SmartClient 9.0 in that uses a frameset. The frameset is served on the same domain as our SmartClient code.
What we've discovered is that when we use the showPrintPreview() method on a grid that is inside a frameset, we get these messages in the JavaScript console:
If we instead open our app into its own window we don't have this problem at all. (Actually it shows the print preview with another problem I'll describe separately).
I see that printFrame.html seems to have some code in it that attempts to mess with document.domain, and I just don't understand what is going on here. Our isomorphicDir is set the same as our URL for the app itself:
"/scr/isomorphic/"
Any pointers here on how to get this working without getting rid of the frameset?
What we've discovered is that when we use the showPrintPreview() method on a grid that is inside a frameset, we get these messages in the JavaScript console:
Code:
Error: Permission denied to access property 'isc' ReferenceError: params is not defined
I see that printFrame.html seems to have some code in it that attempts to mess with document.domain, and I just don't understand what is going on here. Our isomorphicDir is set the same as our URL for the app itself:
"/scr/isomorphic/"
Any pointers here on how to get this working without getting rid of the frameset?
Comment