It doesn't... :-)
Thank you anyway! :-)
-Original Message-
From: Riyad Kalla [mailto:rka...@gmail.com]
Sent: Tuesday, March 02, 2010 6:35 PM
To: users@wicket.apache.org
Subject: Re: DownloadLink problem
Martin,
If it makes you feel any better, it would have been a week or longer b
tin Asenov [mailto:mase...@velti.com]
> Sent: Tuesday, March 02, 2010 4:34 PM
> To: users@wicket.apache.org
> Subject: RE: DownloadLink problem
>
> Thanks Ernesto!
>
> But I want to have the link invisible on startup (because the file's
> empty). So I have th
help!
Best,
Martin
-Original Message-
From: Martin Asenov [mailto:mase...@velti.com]
Sent: Tuesday, March 02, 2010 4:34 PM
To: users@wicket.apache.org
Subject: RE: DownloadLink problem
Thanks Ernesto!
But I want to have the link invisible on startup (because the file's empty). So
I
sed off by this one!!! g
Regards,
Martin
-Original Message-
From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
Sent: Tuesday, March 02, 2010 3:50 PM
To: users@wicket.apache.org
Subject: Re: DownloadLink problem
Weird. Just try this example:
import java.io.Fi
sto
On Tue, Mar 2, 2010 at 2:24 PM, Martin Asenov wrote:
> Unfortunately doesn't work this way... The model is never refreshed...
>
> -Original Message-
> From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
> Sent: Tuesday, March 02, 2010 2:31 PM
> To: users@
2, 2010 2:31 PM
> To: users@wicket.apache.org
> Subject: Re: DownloadLink problem
>
> Not sure... but could you try something like:
>
> DownloadLink downloadLink = new DownloadLink("link_id", new
> AbstractReadOnlyModel(){
> public Fil
Unfortunately doesn't work this way... The model is never refreshed...
-Original Message-
From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
Sent: Tuesday, March 02, 2010 2:31 PM
To: users@wicket.apache.org
Subject: Re: DownloadLink problem
Not sure... but could yo
tOutputMarkupId(true);
and make linkModel a member variable? This way file will be "refreshed".
Best,
Ernnesto
On Tue, Mar 2, 2010 at 1:14 PM, Martin Asenov wrote:
> Hi, guys!
>
> I experience some DownloadLink problem - I have these fields:
>
> File linkModel;
> Downlo
Hi, guys!
I experience some DownloadLink problem - I have these fields:
File linkModel;
DownloadLink theLink = new DownloadLink("link_id", new Model(linkModel));
theLink.setOutputMarkupId(true);
After another button click I have the linkModel field pointing to real file on
the file s