Re: no-cache elements with ListItems (List of files to download them)
Hi, if it doesn't work with your repeater, you're probably not passing around your models correctly. Many people call getModelObject() on their repeater's item and keep a hard reference to that model-object instead of working with the model - this is an error easily made with inner classes. Have fun Sven Am 22. Juli 2019 23:56:02 MESZ schrieb kyrindorx : > >Hey Sven, > >I wrote a POC of this (https://github.com/geramaya/wicket-filedownload) > >and it runs well. It should be doesn't matter to use a repeater or list > >view with a model object, or? >My guess about this can be a bug to handle the listview and refresh >ajax >components inside the real application. The POC should have proven that > >the download function works correctly. > >*sniff* So I have to check out and find the bug in the darkness of >components. > >Greets >Daniel > >Am 22.07.2019 um 21:21 schrieb Sven Meier: >> Hi, >> >> your images didn't make it. >> >> Can you create a quickstart showing your problem? >> >> Have fun >> Sven >> >> >> On 22.07.19 17:02, Custodes Meus wrote: >>> Hello all, >>> >>> Wicket 6.19.x >>> >>> I have a problem with cached elements for a FileList as Repeater >>> inside used a DownloadLink to get a file over http. >>> >>> FileList Repeater: >>> >>> >>> >>> grafik.png >>> >>> If I disable the cache handling (save nothing) of Firefox and clear >>> before open the page - my page will run successfully. >>> >>> I reactived the caching of Firefox and tried to adapt the WebPage >>> with header infos to disable caching of Elements. The behavior will >>> fail, because >>> the list of files will not update correctly and responsed old >filename. >>> grafik.png >>> Now I look for some infos about this. My page use ajax components - >>> the page should run as a statefull page. Other elements are >statefull! >>> >>> I will thankfull for any kinds etc. :) >>> >>> Greets >>> Daniel >>> >> > >- >To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >For additional commands, e-mail: users-h...@wicket.apache.org
Re: no-cache elements with ListItems (List of files to download them)
Hey Sven, I wrote a POC of this (https://github.com/geramaya/wicket-filedownload) and it runs well. It should be doesn't matter to use a repeater or list view with a model object, or? My guess about this can be a bug to handle the listview and refresh ajax components inside the real application. The POC should have proven that the download function works correctly. *sniff* So I have to check out and find the bug in the darkness of components. Greets Daniel Am 22.07.2019 um 21:21 schrieb Sven Meier: Hi, your images didn't make it. Can you create a quickstart showing your problem? Have fun Sven On 22.07.19 17:02, Custodes Meus wrote: Hello all, Wicket 6.19.x I have a problem with cached elements for a FileList as Repeater inside used a DownloadLink to get a file over http. FileList Repeater: grafik.png If I disable the cache handling (save nothing) of Firefox and clear before open the page - my page will run successfully. I reactived the caching of Firefox and tried to adapt the WebPage with header infos to disable caching of Elements. The behavior will fail, because the list of files will not update correctly and responsed old filename. grafik.png Now I look for some infos about this. My page use ajax components - the page should run as a statefull page. Other elements are statefull! I will thankfull for any kinds etc. :) Greets Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: no-cache elements with ListItems (List of files to download them)
Hi, your images didn't make it. Can you create a quickstart showing your problem? Have fun Sven On 22.07.19 17:02, Custodes Meus wrote: Hello all, Wicket 6.19.x I have a problem with cached elements for a FileList as Repeater inside used a DownloadLink to get a file over http. FileList Repeater: grafik.png If I disable the cache handling (save nothing) of Firefox and clear before open the page - my page will run successfully. I reactived the caching of Firefox and tried to adapt the WebPage with header infos to disable caching of Elements. The behavior will fail, because the list of files will not update correctly and responsed old filename. grafik.png Now I look for some infos about this. My page use ajax components - the page should run as a statefull page. Other elements are statefull! I will thankfull for any kinds etc. :) Greets Daniel
no-cache elements with ListItems (List of files to download them)
Hello all, Wicket 6.19.x I have a problem with cached elements for a FileList as Repeater inside used a DownloadLink to get a file over http. FileList Repeater: [image: grafik.png] If I disable the cache handling (save nothing) of Firefox and clear before open the page - my page will run successfully. I reactived the caching of Firefox and tried to adapt the WebPage with header infos to disable caching of Elements. The behavior will fail, because the list of files will not update correctly and responsed old filename. [image: grafik.png] Now I look for some infos about this. My page use ajax components - the page should run as a statefull page. Other elements are statefull! I will thankfull for any kinds etc. :) Greets Daniel