Hello, no I am not using any AJAX with this form. I only get the resource and set it in an Image component. Maybe the uploaded picture is not persistet fast enough to be available on the response...
Ok, I thank you for your help. greetings Roland Huss wrote: > > Hi, > > > greeklinux wrote: >> >> your solution works. But the problem is that I am already registering the >> resource in >> an Initializer. But ok... >> > When you bind a resource reference to an application, it's not about > registering the resource itself > but looking it up. My fault. > > greeklinux wrote: >> >> Now I am uploading the picture and after the reload, I see the standard >> pic. After a >> site refresh I am seeing the uploaded pic. >> >> Do I have to set any headers? >> > Though I don't know your setup, but you need to refresh your image > component (i.e. if it is done via an Ajax request). No headers needs to be > set here. > > ... roland > -- View this message in context: http://www.nabble.com/Resource-SharedResource---Display-an-image-tp18348115p18401931.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]