Example usage for org.apache.wicket Page contains

List of usage examples for org.apache.wicket Page contains

Introduction

In this page you can find the example usage for org.apache.wicket Page contains.

Prototype

public boolean contains(final Component component, final boolean recurse) 

Source Link

Usage

From source file:com.lyndir.lhunath.opal.wayward.state.AbstractComponentActivator.java

License:Apache License

@Override
public boolean isActive() {

    Page responsePage = RequestCycle.get().getResponsePage();
    return responsePage.contains(getComponent(), true) && getComponent().isVisibleInHierarchy();
}