+1 - at this time I was not aware of what all has to be serializable. So yep I would suggest to use the Model at this place, too.
kind regards Tobias > Am 14.06.2018 um 07:50 schrieb Martin Grigorov <mgrigo...@apache.org>: > > With WICKET-6504 we improved FileSystemResource to use > LoadableDetachableModel<Path> instead of just path. > Maybe the same should be done for the ResourceReference too ? > > On Thu, Jun 14, 2018 at 4:24 AM Maxim Solodovnik <solomax...@gmail.com> > wrote: > >> You can have String path (instead of Path path) >> And it will works as expected :) >> >> WBR, Maxim >> (from mobile, sorry for the typos) >> >>> On Thu, Jun 14, 2018, 04:23 sorinev <sori...@gmail.com> wrote: >>> >>> Perfect, that worked. What's the side effect of this vs the other way, if >>> any? >>> >>> -- >>> Sent from: >>> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org