it works well, thanks you very much
wch2001 wrote:
>
> Dear all,
>
> I want to show Image based on one url like www.cnn.com..../abc.gif, the
> string is in pictureLocation,
> i mean pictureLocation = "www.cnn.com..../abc.gif".
>
> how can I do with Image.
>
> Image image = new Image("image");
>
> ResourceReference ref = new ResourceReference(pictureLocation);
> image.setImageResource(new Resource() {
>
> @Override
> public IResourceStream getResourceStream() {
>
> throw new UnsupportedOperationException("Not supported
> yet.");
> }
> });
>
> thanks a lot,
>
>
>
>
--
View this message in context:
http://www.nabble.com/Hi%2C-How-to-set-one-url%28www.cnn.com....-abc.gif%29-to-Image-tp19914379p19915373.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]