You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Marco Paulo Silva Santos (JIRA)" <ji...@apache.org> on 2007/12/17 15:56:43 UTC
[jira] Created: (WICKET-1232) BookmarkablePageLink with images
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.
[jira] Commented: (WICKET-1232) BookmarkablePageLink with images
Posted by "Marco Paulo Silva Santos (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (WICKET-1232) BookmarkablePageLink with images
Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Compagner closed WICKET-1232.
-----------------------------------
Resolution: Invalid
this is not a bug in wicket this is pure htm/css just look how to use css borders.
Also with these kind of questions, ask them first on the user list.
> 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.
[jira] Commented: (WICKET-1232) BookmarkablePageLink with images
Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552540 ]
Johan Compagner commented on WICKET-1232:
-----------------------------------------
we already have that
new Image(xxx, new ByteArrayResource(bytes))
> 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.