Hello,
I'm using: Isomorphic SmartClient Framework (v8.2p_2012-06-12/PowerEdition Deployment 2012-06-12)
I haven't touched my print button code in a while, but did upgrade to a nightly of a few weeks ago. When in development mode, the print button works, but when deployed, both Firefox and Chrome (both on windows and mac) give me the following console error in firebug.
here is my printbutton code, pretty standard. I tried this with feeding it a ListGrid:
Firefox 11
Chrome:
Is this a small error that slipped in? If not, please let me know so I could investigate this further.
I'm using: Isomorphic SmartClient Framework (v8.2p_2012-06-12/PowerEdition Deployment 2012-06-12)
I haven't touched my print button code in a while, but did upgrade to a nightly of a few weeks ago. When in development mode, the print button works, but when deployed, both Firefox and Chrome (both on windows and mac) give me the following console error in firebug.
here is my printbutton code, pretty standard. I tried this with feeding it a ListGrid:
Code:
public class PrintButtonWidget extends IButton { RadosMessages radosMessages = (RadosMessages) GWT .create(RadosMessages.class); private Canvas toPrint = null; public PrintButtonWidget(Canvas target) { this.toPrint = target; setTitle(radosMessages.richTableView_print_button()); setShowRollOver(false); setIcon(GWT.getHostPageBaseURL() + "images/icons/32/woofunction/printer_32.png"); setIconOrientation("right"); addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { Canvas.showPrintPreview(toPrint); } }); } }
Firefox 11
Code:
Permission denied for <http://dev.technicom.nl> to get property Location.href http://dev.technicom.nl/generatedcode/sc/modules/ISC_Core.js Line 1280 params is not defined http://dev.technicom.nl/generatedcode/sc/system/helpers/printFrame.html?id=isc_PrintCanvas_0&title=Afdruk%20voorbeeld Line 63
Code:
Unsafe JavaScript attempt to access frame with URL http://dev.technicom.nl/#technicom from frame with URL http://dev.technicom.nl/generatedcode/sc/system/helpers/printFrame.html?id=isc_PrintCanvas_0&title=Afdruk%20voorbeeld. Domains, protocols and ports must match. printFrame.html:40 (anonymous function)
Comment