Tabnine Logo
Panel
Code IndexAdd Tabnine to your IDE (free)

How to use
Panel
in
org.apache.wicket.markup.html.panel

Best Java code snippets using org.apache.wicket.markup.html.panel.Panel (Showing top 20 results out of 918)

origin: apache/wicket

  @Override
  protected void onBeforeRender()
  {
    super.onBeforeRender();
    DevelopmentUtilitiesNotEnabledException.check();
  }
}
origin: org.opensingular/singular-form-wicket

@Override
protected void onInitialize() {
  super.onInitialize();
  rebuildForm();
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-ui-project

@Override
protected void onConfigure()
{
  super.onConfigure();
  
  setVisible(user.getObject() != null);
}
origin: org.openengsb.ui/org.openengsb.ui.common

  @Override
  public void onClick() {
    try {
      Panel newPanel = webtaskboxService.getTaskPanel(task, "taskPanel");
      newPanel.setOutputMarkupId(true);
      panel.replaceWith(newPanel);
      panel = newPanel;
    } catch (TaskboxException e) {
      LOGGER.error("Taskbox panel could not be started", e);
    }
  }
};
origin: com.premiumminds/pm-wicket-utils

public void removeItem(AjaxRequestTarget target){
  Panel panel = new EmptyPanel("container");
  addOrReplace(panel);
  panel.setOutputMarkupId(true);
  panel.setVisible(false);
  target.add(panel);
}

origin: ru.ydn.wicket.wicket-console/wicket-console

@Override
public void renderHead(IHeaderResponse response) {
  super.renderHead(response);
  HeaderItem cssResource = getCSSResource();
  if(cssResource!=null) response.render(cssResource);
}

origin: apache/wicket

@Override
protected void onComponentTag(ComponentTag tag)
{
  checkComponentTag(tag, "table");
  super.onComponentTag(tag);
}
origin: apache/wicket

@Override
protected void onDetach()
{
  visibilityCache = null;
  super.onDetach();
}
origin: org.opensingular/singular-wicket-utils

  @Override
  protected void populateItem(ListItem<Pair<String, Integer>> item) {
    Panel panel = tabMap.get(item.getModelObject());
    if (item.getIndex() == 0) {
      panel.add($b.classAppender("active"));
    }
    item.add(panel);
    panel.setOutputMarkupId(true);
  }
};
origin: com.premiumminds/pm-wicket-utils

private void removeDrawer(MarkupContainer previous, AjaxRequestTarget target) {
  Panel panel = new EmptyPanel("next");
  panel.setOutputMarkupId(true);
  previous.addOrReplace(panel);
  target.add(panel);
}
origin: org.onehippo.cms7/hippo-addon-channel-manager-frontend

@Override
public void renderHead(final IHeaderResponse response) {
  super.renderHead(response);
  response.render(ChannelManagerHeaderItem.get());
}
origin: org.apache.wicket/wicket-core

@Override
protected void onComponentTag(ComponentTag tag)
{
  // Must be attached to an map tag
  checkComponentTag(tag, "map");
  super.onComponentTag(tag);
}
origin: apache/wicket

  /**
   * {@inheritDoc}
   */
  @Override
  protected void onDetach()
  {
    super.onDetach();
    stackTraceAsString = null;
    evaluatedTemplate = null;
  }
}
origin: org.opensingular/wicket-utils

  @Override
  protected void populateItem(ListItem<Pair<String, Integer>> item) {
    Panel panel = tabMap.get(item.getModelObject());
    if(item.getIndex() == 0){
      panel.add($b.classAppender("active"));
    }
    item.add(panel);
    panel.setOutputMarkupId(true);
  }
};
origin: com.premiumminds/pm-wicket-utils

@Override
public void renderHead(IHeaderResponse response) {
  super.renderHead(response);
  
  StringBuilder sb = new StringBuilder();
  if(container.isVisible()) sb.append("$('#"+BootstrapModal.this.getMarkupId()+"').modal('show');");
  else sb.append("$('#"+BootstrapModal.this.getMarkupId()+"').modal('hide');");
  response.render(OnDomReadyHeaderItem.forScript(sb.toString()));
}
origin: apache/wicket

/**
 * Installs a page-global timer if not already present.
 */
@Override
protected void onBeforeRender()
{
  super.onBeforeRender();
  if (loaded == false) {
    initTimer();
  }
}
origin: org.opensingular/singular-requirement-commons

@Override
protected void onInitialize() {
  super.onInitialize();
  addComponentsToModalBorder(modalBorder);
}
origin: org.opensingular/server-commons

@Override
protected void onConfigure() {
  super.onConfigure();
  createTreeTable();
}
origin: apache/wicket

@Override
protected void onComponentTag(ComponentTag tag)
{
  // Must be attached to an map tag
  checkComponentTag(tag, "map");
  super.onComponentTag(tag);
}
origin: de.alpharogroup/jaulp.wicket.components

/**
 * {@inheritDoc}
 */
@Override
protected void onDetach()
{
  visibilityCache = null;
  super.onDetach();
}
org.apache.wicket.markup.html.panelPanel

Javadoc

A panel is a reusable component that holds markup and other components.

Whereas WebMarkupContainer is an inline container like

 
... 
<span wicket:id="xxx"> 
<span wicket:id="mylabel">My label</span> 
.... 
</span> 
... 
a Panel has its own associated markup file and the container content is taken from that file, like:
 
<span wicket:id="mypanel"/> 
TestPanel.html 
<wicket:panel> 
<span wicket:id="mylabel">My label</span> 
.... 
</wicket:panel> 

Most used methods

  • renderHead
    Check the associated markup file for a wicket header tag
  • onBeforeRender
  • onInitialize
  • onConfigure
  • onComponentTag
  • onDetach
  • setOutputMarkupId
  • setVisible
  • add
  • setDefaultModel
  • onAfterRender
  • detachModel
  • onAfterRender,
  • detachModel,
  • detachModels,
  • getId,
  • onModelChanged,
  • remove,
  • replaceWith,
  • getMarkupId,
  • onComponentTagBody,
  • setMarkupId

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now