Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5993

AjaxButton - image is not shown even though type="image" is in html-template

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.0.0
    • 7.1.0, 8.0.0-M1
    • None
    • None
    • Wicket Quickstart, Eclipse 4.5.0, Windows 8.1

    Description

      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.

      Attachments

        Activity

          People

            svenmeier Sven Meier
            adrian.max Adrian Pischem
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: