Re: Print friendly panel

2010-02-26 Thread Michael O'Cleirigh
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 d

RE: Print friendly panel

2010-02-27 Thread Josh Chappelle
- From: Michael O'Cleirigh [mailto:michael.ocleir...@rivulet.ca] Sent: Friday, February 26, 2010 3:25 PM To: users@wicket.apache.org Subject: Re: Print friendly panel Hi Josh, I'd create a PrinterFriendlyPage and then use a customized Link from the NotPrinterFriendlyPage to have it op

RE: Print friendly panel

2010-02-27 Thread Alex Rass
Josh, This doesn't answer your question directly (about a popup). But a MUCH simpler way is to make your page printer friendly by supplying an alternative CSS for printing format (google on that). Makes life much easier. When you tell your page which css to use, you can say "use this CSS for pri

Re: Print friendly panel

2010-02-27 Thread Riyad Kalla
This is what I've done in the past as well, allows your user to just "print" the page they are staring at and have the browser do the right thing in using an alternative style sheet for rendering the page -- this includes using a lot of display:none to trim down the parts of the page that you don't

Re: Print friendly panel

2010-02-28 Thread nino martinez wael
Yeah I agree this is the way it should be done. Works like a charm! And then just have a simple js like this: on or link button or whatever.. 2010/2/28 Riyad Kalla > This is what I've done in the past as well, allows your user t

Re: Print friendly panel

2010-02-28 Thread Martin Makundi
Hi! Anybody interested in pdf print script via wicket? ** Martin 2010/2/28 nino martinez wael : > Yeah I agree this is the way it should be done. Works like a charm! And then > just have a simple js like this: > > >   > > > on or l

RE: Print friendly panel

2010-02-28 Thread Josh Chappelle
Awesome! Thanks a lot guys. That will be easy to do. Josh -Original Message- From: Riyad Kalla [mailto:rka...@gmail.com] Sent: Saturday, February 27, 2010 6:06 PM To: users@wicket.apache.org Subject: Re: Print friendly panel This is what I've done in the past as well, allows your

RE: Print friendly panel (pdf)

2010-02-28 Thread Alex Rass
users@wicket.apache.org Subject: Re: Print friendly panel Hi! Anybody interested in pdf print script via wicket? ** Martin 2010/2/28 nino martinez wael : > Yeah I agree this is the way it should be done. Works like a charm! And then > just have a simple js like this: > > >  <!-

Re: Print friendly panel (pdf)

2010-02-28 Thread Martin Makundi
ex Rass : > That's what google is doing to print (through a conversion on the back end). > So if you contribute it, I am sure SOMEONE would want it :) > > - Alex > > > -Original Message- > From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] > Sent: Sunday