no question, *I replaced:*
Link link = new Link("download"){
@Override
public void onClick() {
IResourceStream stream = new FileResourceStream(new File(path + fileName));
getRequestCycle().scheduleRequestHandlerAfterCurrent(new
ResourceStreamRequestHandler(stream).setFileName(fileName));
.....
*with*
new DownloadLink("download", new File(path + fileName))
tnk
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Download-Link-doesn-t-work-on-1-5-x-tp4309507p4309595.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]