[Seaside] Print document
Lukas Renggli
renggli at gmail.com
Mon Jun 15 14:55:17 UTC 2009
> 2) the user need click on 'Print' anchor and after answer to Printer
> dialog
You can avoid that by adding the Javascript call to the onLoad
scripts. This means you add the following code to the top:
self session addLoadScript: 'window.print()'
> I can do this in background ?
>
> With only one clic do all it?
No, you still get the print dialog.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list