Example usage for org.apache.wicket.markup.html.panel Panel getDefaultModel

List of usage examples for org.apache.wicket.markup.html.panel Panel getDefaultModel

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html.panel Panel getDefaultModel.

Prototype

public final IModel<?> getDefaultModel() 

Source Link

Document

Gets the model.

Usage

From source file:org.efaps.ui.wicket.components.table.header.HeaderPanel.java

License:Apache License

/**
 * @param _wicketId wicket id for this component
 * @param _panel    the Panel the table resides in
 * @throws CacheReloadException on error
 */// w ww . ja va  2  s . c  o  m
public HeaderPanel(final String _wicketId, final Panel _panel) throws CacheReloadException {
    this(_wicketId, _panel, _panel.getDefaultModel());
}