I've changed it to that below, but still get "18:22:47,185 ERROR
WebResponse:190 - Unable to redirect to: ?wicket:interface=:2::::, HTTP
Response has already been committed." in the logs. Isn't this the same
as what's in the link you posted? I can post all the code, but all it is
is a Link inside a Form. The code before what I've posted below simple
appends text to the out, which is a StringBuilder. This is the only part
where I send the request. I'm using 1.3 Wicket, and Apache Tomcat 6, if
that helps.
SimpleDateFormat formatFile = new SimpleDateFormat("MM-dd-yyyy");
ResourceStreamRequestTarget rsrt = new ResourceStreamRequestTarget(new
StringResourceStream(out, "text/csv"));
rsrt.setFileName("export_" +
formatFile.format(Calendar.getInstance().getTime()) + ".csv");
getRequestCycle().setRequestTarget(rsrt);
Jan Kriesten wrote:
hi,
see here:
http://www.nabble.com/Download-link-from-DynamicWebResource--tf4353363.html#a12404601
regards, --- jan.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Justin Stanczak
Stanczak Group
812-735-3600
"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]