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

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

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

origin: org.onehippo.cms7/hippo-cms-api

@Override
public void onComponentTagBody(MarkupStream markupStream, final ComponentTag openTag) {
  int beginOfBodyIndex = markupStream.getCurrentIndex();
  Response response = new StringResponse();
  RequestCycle requestCycle = getRequestCycle();
  Response webResponse = requestCycle.setResponse(response);
  try {
    super.onComponentTagBody(markupStream, openTag);
    webResponse.write(response.toString());
  } catch (WicketRuntimeException ex) {
    log.error("runtime plugin failure", ex);
    // this is a plugin, don't let the entire UI fail because of it failing
    markupStream.setCurrentIndex(beginOfBodyIndex);
    markupStream.skipToMatchingCloseTag(openTag);
  } finally {
    requestCycle.setResponse(webResponse);
  }
}
origin: org.onehippo.jcr.console/hippo-jcr-console-api

@Override
protected void onComponentTagBody(MarkupStream markupStream, final ComponentTag openTag) {
  MarkupStream originalMarkupStream = getMarkupStream();
  int beginOfBodyIndex = originalMarkupStream.getCurrentIndex();
  Response response = new StringResponse();
  RequestCycle requestCycle = getRequestCycle();
  Response webResponse = requestCycle.setResponse(response);
  try {
    super.onComponentTagBody(markupStream, openTag);
    webResponse.write(response.toString());
  } catch (WicketRuntimeException ex) {
    log.error("runtime plugin failure", ex);
    // this is a plugin, don't let the entire UI fail because of it failing
    markupStream.setCurrentIndex(beginOfBodyIndex);
    markupStream.skipToMatchingCloseTag(openTag);
  } finally {
    requestCycle.setResponse(webResponse);
  }
}
origin: apache/wicket

super.onComponentTagBody(markupStream, openTag);
origin: org.apache.wicket/wicket-velocity

super.onComponentTagBody(markupStream, openTag);
org.apache.wicket.markup.html.panelPanelonComponentTagBody

Popular methods of Panel

  • 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,
  • setMarkupId

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • Menu (java.awt)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Kernel (java.awt.image)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Github Copilot alternatives
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