Example usage for org.apache.wicket.markup ComponentTag syntheticCloseTagString

List of usage examples for org.apache.wicket.markup ComponentTag syntheticCloseTagString

Introduction

In this page you can find the example usage for org.apache.wicket.markup ComponentTag syntheticCloseTagString.

Prototype

public final CharSequence syntheticCloseTagString() 

Source Link

Usage

From source file:org.artifactory.common.wicket.component.checkbox.styled.StyledCheckbox.java

License:Open Source License

@Override
public void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) {
    super.onComponentTagBody(markupStream, openTag);

    // close span  tag
    getResponse().write(openTag.syntheticCloseTagString());
    openTag.setType(XmlTag.TagType.CLOSE);
}