IMarkupWriter writer = newWriter();
IAsset image = newAsset(cycle, "disabled-image-url");
Creator creator = new Creator();
ImageSubmit submit = (ImageSubmit) creator.newInstance(ImageSubmit.class, new Object[]
{ "disabledImage", image, "disabled", Boolean.TRUE, "submitType", "submit" });
trainGetForm(cycle, form);
trainWasPrerendered(form, writer, submit, false);