-
Notifications
You must be signed in to change notification settings - Fork 12
DrawerManager
PMJMendes edited this page Dec 17, 2014
·
8 revisions
The DrawerManager is a component that manages stacks of modal drawers that derive from AbstractDrawer.
You can see a demo here.
Example using with a table:
<div wicket:id="drawerbaseid"></div>
public class MyPage extends WebPage implements IAjaxIndicatorAware {
public static final String DRAWER_BASE_ID = "drawerbaseid";
private DrawerManager manager;
public MyPage() {
manager = new DrawerManager(DRAWER_BASE_ID);
}
@Override protected void onInitialize() {
add(manager);
};
protected Panel getDrawer(String id) {
return new EmptyPanel(id);
}
public DrawerManager getDrawerManager() {
return manager;
}
}