is triggered, the page stays untouched you can clear the
session cookie as often as you like
I did not proof this but I thin this could be te right way.
Stefan
-Ursprüngliche Nachricht-
Von: Alex Zeit [mailto:zeita...@googlemail.com]
Gesendet: Freitag, 29. Oktober 2010 14:22
An: users
Sorry Stefan, I restarted Firefox and checked again - it does not work :-(
2010/11/2 Alex Zeit zeita...@googlemail.com
Thank you very much Stefan, it works perfectly!
2010/10/29 Stefan Lindner lind...@visionet.de
How does your trigger look like? I mean the a or button or input
type=submit
the
session is lost. Refreshing the page starts a new session and it works
again.
You must (I don't know how at the moment) produce a sort of bookemarkable
url for this case I think. My guess would be to use a separate servlet for
this.
Stefan
-Ursprüngliche Nachricht-
Von: Alex Zeit
While trying to display a PDF document from stream following problems
arrise:
IE7:
Resource can not be displaied at all.
Firefox 3.6.12:
PDF is displaied but if Chronk is cleared in Firefox while document is open
then it cannot be displaied again. It is possible only after restarting
Firefox.
No
Yes
2010/10/28 Stefan Lindner lind...@visionet.de
Do you want to open the PDF in a separate window? Klick on some button and
open a new browser window with pdf?
Stefan
-Ursprüngliche Nachricht-
Von: Alex Zeit [mailto:zeita...@googlemail.com]
Gesendet: Donnerstag, 28. Oktober 2010
(PopupSettings.RESIZABLE |
PopupSettings.SCROLLBARS));
add(pdfLink);
Stefan
-Ursprüngliche Nachricht-
Von: Alex Zeit [mailto:zeita...@googlemail.com]
Gesendet: Donnerstag, 28. Oktober 2010 15:21
An: users@wicket.apache.org
Betreff: Re: Problems displaying a PDF from stream
Yes
2010/10/28
/28 Alex Zeit zeita...@googlemail.com
Thanks a lot Stefan I will try it right now
2010/10/28 Stefan Lindner lind...@visionet.de
Try this:
public class MyResourceStreamWriter extends
AbstractResourceStreamWriter {
private static final long serialVersionUID = 1L
We need to generate some PDFs containing formatted text, tables, and images
in a certain layout from Wicket application. What PDF library work best with
Wicket? FOP, iText, something else?
Alex
Martin, Josh, Thank you very much for your answers.
iReport using iText, that is obviously plus for iText.
2010/9/28 Josh Kamau joshnet2...@gmail.com
I use iReport and JasperReport library.
regards.
On Tue, Sep 28, 2010 at 3:49 PM, Alex Zeit zeita...@googlemail.com
wrote:
We need
Thank you very much for your suggestions. I was also thinking of creating
folders with random names.
I am using geotools libs to generate shapefiles set that I want to zip and
stream back.
I did not figure out yet how can I generate those files to stream using
Geotools.
2010/6/15 Jeremy Thomerson
Thank you very much Jeremy for your help. As you suggested I create
temporary dir and place files there.
Wicket is really great! The solution to my problem was just in couple of
lines of code:
org.apache.wicket.util.file.File wdir = new
org.apache.wicket.util.file.File(createTempDirectory());
Thank you very much Edward for your help. The solution was to create
temporary directory and place files there:
final File temp = File.createTempFile(temp,
Long.toString(System.nanoTime()));
if (!(temp.delete())) {
throw new IOException(Could not delete
Dear All,
I would like to create some binary files, zip them and start download in one
step.
I started with the functionality to create files depending on form input:
form.add(new Button(button1, new Model(Download)) {
@Override
public void onSubmit() {
Dear All,
I am a bit confused where the error is: Is it Ubuntu Tomcat configuration or
there is a specific approach to save files from Wicket.
My Application generates several binary files. After files generated I want
to pack them in zip archive and allow user to download them.
Is it possible to
Dear All,
How to insert Wicket response into div tag on the page served outside of
Wickets.
This static page looks as follows:
script type='text/javascript'
var request;
function doSomeRequest(servletName){
var servlet = servletName;//the name (URI) of your
servlet
var req
It was silly error in JavaScript. Wicket page embeds into div like a charm
this way.
The correct JS:
function doSomeRequest(servletName){
var servlet =
servletName+document.attributeform.username.value;//the name
(URI) of your servlet
var req = servlet;
16 matches
Mail list logo