You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "vincent Demay (JIRA)" <ji...@apache.org> on 2007/03/05 16:30:51 UTC
[jira] Updated: (WICKET-359) Allowing to Construct an Image with a
distant resource
[ https://issues.apache.org/jira/browse/WICKET-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vincent Demay updated WICKET-359:
---------------------------------
Attachment: LocalizedImageResource.patch.txt
The patch seems to be quite big but I just suround the setSrcAttribute code with an if to find in the the modelObject :// representing a protocol
> Allowing to Construct an Image with a distant resource
> ------------------------------------------------------
>
> Key: WICKET-359
> URL: https://issues.apache.org/jira/browse/WICKET-359
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3
> Reporter: vincent Demay
> Attachments: LocalizedImageResource.patch.txt
>
>
> The attach patch allows to use Image(String, String) or Image(String, Model) with a distant resource.
> ie :
> Image img2 = new Image("img2", "http://wicket.sourceforge.net/css/banner-bg.png");
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.