Example usage for org.apache.wicket MarkupContainer getOutputMarkupPlaceholderTag

List of usage examples for org.apache.wicket MarkupContainer getOutputMarkupPlaceholderTag

Introduction

In this page you can find the example usage for org.apache.wicket MarkupContainer getOutputMarkupPlaceholderTag.

Prototype

public final boolean getOutputMarkupPlaceholderTag() 

Source Link

Document

Gets whether or not an invisible component will render a placeholder tag.

Usage

From source file:com.aplombee.RepeaterUtil.java

License:Apache License

/**
 * {@inheritDoc}/*from   w  w w.  j av a  2 s. co m*/
 */
@Override
public final void outPutMarkupIdNotTrue(IQuickView quickView) {
    Args.notNull(quickView, "quickview");
    MarkupContainer container = quickView.getParent();
    if (container.getOutputMarkupId() == false && container.getOutputMarkupPlaceholderTag() == false) {
        throw new OutputMarkupIdNotTrueException("parent doesn't have setOutputMarkupId to true");
    }
}