use of org.apache.tapestry5.beaneditor.Width in project tapestry-5 by apache.
the class KaptchaImage method beginRender.
boolean beginRender(MarkupWriter writer) {
Link link = resources.createEventLink("image");
writer.element("img", "src", link.toURI(), "width", producer.getWidth(), "height", producer.getHeight());
resources.renderInformalParameters(writer);
writer.end();
return false;
}
Aggregations