Example usage for org.apache.wicket MarkupContainer getOutputMarkupId

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

Introduction

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

Prototype

public final boolean getOutputMarkupId() 

Source Link

Document

Gets whether or not component will output id attribute into the markup.

Usage

From source file:com.aplombee.RepeaterUtil.java

License:Apache License

/**
 * {@inheritDoc}/*from w w w .j a  v 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");
    }
}