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

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

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

origin: org.opensingular/form-wicket

public AnnotationComponent setAnnotationModel(SIAnnotationModel<?> model) {
  super.setDefaultModel(model);
  return this;
}
origin: de.agilecoders.wicket/wicket-bootstrap-core

/**
 * Override this method to provide a body for this panel..
 *  
 * @param id the component id
 * @param model the component model
 * @return the panel to use
 */
protected Panel newBodyPanel(String id, IModel<T> model){
  
  Panel emptyPanel = new EmptyPanel(id);
  emptyPanel.setDefaultModel(null);
  
  return emptyPanel;
}

origin: ontopia/ontopia

@Override
public MarkupContainer setDefaultModel(IModel<?> model) {
 // notify nested tree about new tree model
 tree.setDefaultModel(model);
 return super.setDefaultModel(model);
}

origin: net.ontopia/ontopoly-editor

@Override
public MarkupContainer setDefaultModel(IModel<?> model) {
 // notify nested tree about new tree model
 tree.setDefaultModel(model);
 return super.setDefaultModel(model);
}

origin: de.agilecoders.wicket/wicket-bootstrap-core

/**
 * Override this method to provide a footer for this panel. 
 * @param id
 * @param model
 * @return
 */
protected Panel newFooterPanel(String id, IModel<T> model){
  
  Panel emptyPanel = new EmptyPanel(id);
  emptyPanel.setDefaultModel(null);
  
  return emptyPanel;
}

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

public final void updateModel(IModel model) {
  if (getDefaultModel() instanceof IObservable) {
    context.unregisterService(this, IObserver.class.getName());
  }
  super.setDefaultModel(model);
  if (getDefaultModel() instanceof IObservable) {
    context.registerService(this, IObserver.class.getName());
  }
}
origin: org.onehippo.jcr.console/hippo-jcr-console-api

public final void updateModel(IModel model) {
  if (getDefaultModel() instanceof IObservable) {
    context.unregisterService(this, IObserver.class.getName());
  }
  super.setDefaultModel(model);
  if (getDefaultModel() instanceof IObservable) {
    context.registerService(this, IObserver.class.getName());
  }
}
origin: apache/wicket

@Override
public final AjaxEditableLabel<T> setDefaultModel(final IModel<?> model)
{
  super.setDefaultModel(model);
  getLabel().setDefaultModel(model);
  getEditor().setDefaultModel(model);
  return this;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.MarkupContainer#setDefaultModel(org.apache.wicket.model.IModel)
 */
@Override
public final AjaxEditableLabel<T> setDefaultModel(IModel<?> model)
{
  super.setDefaultModel(model);
  getLabel().setDefaultModel(model);
  getEditor().setDefaultModel(model);
  return this;
}
org.apache.wicket.markup.html.panelPanelsetDefaultModel

Popular methods of Panel

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • setContentView (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JComboBox (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • 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