Thanks Michael, I actually got the popup to work by just putting target="_blank" in the anchor tag. I didn't think about doing it your way.
My main problem is rendering the component into a string as well as to the browser. Thanks for your help! Josh -----Original Message----- From: Michael O'Cleirigh [mailto:[email protected]] Sent: Friday, February 26, 2010 3:25 PM To: [email protected] Subject: Re: Print friendly panel 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
