Example usage for org.apache.wicket.markup MarkupStream getWicketNamespace

List of usage examples for org.apache.wicket.markup MarkupStream getWicketNamespace

Introduction

In this page you can find the example usage for org.apache.wicket.markup MarkupStream getWicketNamespace.

Prototype

public final String getWicketNamespace() 

Source Link

Document

Get the wicket namespace valid for this specific markup

Usage

From source file:org.apache.openmeetings.service.mail.template.OmTextLabel.java

License:Apache License

@Override
public void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) {
    final String vis = openTag.getAttribute(markupStream.getWicketNamespace() + WICKET_VISIBLE);
    if (vis != null && Boolean.FALSE.equals(Boolean.valueOf(vis))) {
        //skip the body
        return;//from  w w w.j  a v a 2 s. c o m
    }
    super.onComponentTagBody(markupStream, openTag);
}