Hi !

If you're changing your image with Ajax, you could use the static path as
Christoph suggested with AjaxRequestTarget :

target.appendJavascript("$('yourselector').attr('src', './yourstaticpath');


Regards,
Yaya


2016-07-22 10:47 GMT+02:00 Christoph Läubrich <[email protected]>:

> You kan provide static content with the default mechanism of your
> servlet-container (jetty? Tomcat? ...?) under a specific url. If for
> whatever reason this does not work for you you can also mount resources in
> Wicket to a static url.
>
>
> Am 22.07.2016 09:10, schrieb ivan.cicevac:
>
>> Hi,
>>
>> That is a javascript framework (kendo) and I have possibility to provide
>> just an html content i.e. img tag with src="url",  but I need url for the
>> src attribute, I have images in a folder within project, so I need to pass
>> their wicket, urls so they can be renderered properly, but don't know how
>> to
>> do that
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Showing-images-without-wicket-component-tp4675177p4675185.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]
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Yaya NDONGO

Reply via email to