You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/10/05 22:06:26 UTC
[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14943938#comment-14943938 ]
Martin Grigorov edited comment on WICKET-5993 at 10/5/15 8:05 PM:
------------------------------------------------------------------
The change has been made with WICKET-5594 to prevent non-Ajax submits but I admit I haven't considered type="image" use case.
was (Author: mgrigorov):
The change has been made with WICKET-5594 to prevent non-Ajax submits but I admit I haven't consider type="image" use case.
> 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
>
> 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)