You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2015/10/06 00:55:28 UTC
[jira] [Resolved] (WICKET-5993) AjaxButton - image is not shown
even though type="image" is in html-template
[ https://issues.apache.org/jira/browse/WICKET-5993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-5993.
--------------------------------
Resolution: Fixed
Fix Version/s: 8.0.0-M1
7.1.0
Indeed, that was an oversight on my part. Thanks!
> AjaxButton - image is not shown even though type="image" is in html-template
> -----------------------------------------------------------------------------
>
> Key: WICKET-5993
> URL: https://issues.apache.org/jira/browse/WICKET-5993
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 7.0.0
> Environment: Wicket Quickstart, Eclipse 4.5.0, Windows 8.1
> Reporter: Adrian Pischem
> Assignee: Sven Meier
> Fix For: 7.1.0, 8.0.0-M1
>
>
> It seems that in html-template type="image" is changed to type="button".
> There is not much to do.
> in html:
> <form wicket:id="form">
> <input wicket:id="button" type="image" src="add.png" value='this must be an image></input>
> </form>
> in java:
> Form form = new Form<>("form");
> add(form);
> form.add(new AjaxButton("button") {});
> As image use any.
> In Wicket 6.20.0 it worked.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)