Hi Josh,
I'd create a PrinterFriendlyPage and then use a customized Link from the
NotPrinterFriendlyPage to have it open in a new window.
Link has this public method where you can setup the PopupSettings class
that seems to provide the configuration hooks for how the popup should
work when displayed.
public final Link<T> setPopupSettings(final PopupSettings popupSettings)
{
this.popupSettings = popupSettings;
return this;
}
Regards,
Mike
Hi,
Does anyone know of a suggested method to render a printer friendly panel to
a separate browser window so that user's can print? The only thing I have
found is the following article and it looks a little clunky.
http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html
Basically I just need to be able to place a link that when clicked will pop
up a new browser window with only the contents to the target panel. That way
users can print that panel from there.
Thanks,
Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]