You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Adrian Pischem (JIRA)" <ji...@apache.org> on 2015/10/05 14:13:26 UTC

[jira] [Created] (WICKET-5993) AjaxButton - image is not shown even though type="image" is in html-template

Adrian Pischem created WICKET-5993:
--------------------------------------

             Summary: 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)