Java Code Examples for org.apache.wicket.markup.html.panel.Panel#setVisible()

The following examples show how to use org.apache.wicket.markup.html.panel.Panel#setVisible() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DynamicListItem.java    From pm-wicket-utils with GNU Lesser General Public License v3.0 5 votes vote down vote up
public void removeItem(AjaxRequestTarget target){
	Panel panel = new EmptyPanel("container");
	addOrReplace(panel);
	panel.setOutputMarkupId(true);
	panel.setVisible(false);
	target.add(panel);
}
 
Example 2
Source File: AbstractListPage.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Override this method if you need a top panel. The default top panel is empty and not visible.
 */
protected void addTopPanel()
{
  final Panel topPanel = new EmptyPanel("topPanel");
  topPanel.setVisible(false);
  form.add(topPanel);
}
 
Example 3
Source File: AbstractListPage.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Override this method if you need a bottom panel. The default bottom panel is empty and not visible.
 */
protected void addBottomPanel(final String id)
{
  final Panel bottomPanel = new EmptyPanel(id);
  bottomPanel.setVisible(false);
  form.add(bottomPanel);
}
 
Example 4
Source File: AbstractWidget.java    From Orienteer with Apache License 2.0 4 votes vote down vote up
protected Panel createFooterPanel(String id) {
	Panel panel = new EmptyPanel(id);
	panel.setVisible(false);
	return panel;
}