[
https://issues.apache.org/jira/browse/WICKET-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552463
]
Marco Paulo Silva Santos commented on WICKET-1232:
--------------------------------------------------
Thanks and im sorry!
On now on i will use the user list.
One question!
I have made a component extension, and i don't know if it would be useful to
include on the wicket library. It is an extension to the Image component,
that receives as parameters the id and a byte[] that represents the image
data. It have an extra parameter that indicates the size of the biggest size
to maintain aspect ratio.
public MyImage(String id, byte[] imageData)
public MyImage(String id, byte[] imageData, int size)
It is usefull? if so, how to upload it to the wicket project?
Once again, thanks a lot.
--ms
--
Marco Santos
> BookmarkablePageLink with images
> --------------------------------
>
> Key: WICKET-1232
> URL: https://issues.apache.org/jira/browse/WICKET-1232
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc1
> Environment: Webapplication developed with Java, Hibernate and Wicket.
> SO - Windows
> Browsers - IExplorer and FireFox 2.0
> Reporter: Marco Paulo Silva Santos
>
> Im trying to define a BookmarkablePageLink into an Image.
> The image is build from a byte[] that came form the DB and a Resource is
> created from it. The Image is created from the resource and it is added to
> the BookmarkablePageLink like this:
> ....
> BookmarkablePageLink link = new BookmarkablePageLink ("linkId", Page.class);
> link.add(new Image("imageId", resource));
> add(link);
> ....
> the link is created, and the image is well shown. However, a blue border
> appears arround the image, and it turns mangeta if pressed.
> I couldn't find a way to remove that border. On the html files there is no
> css class associated.
> Thanks
> --ms
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.