congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IBehavior.onComponentTag
Code IndexAdd Tabnine to your IDE (free)

How to use
onComponentTag
method
in
org.apache.wicket.behavior.IBehavior

Best Java code snippets using org.apache.wicket.behavior.IBehavior.onComponentTag (Showing top 4 results out of 315)

origin: org.wamblee/wamblee-wicket-components

@Override
public void onComponentTag(Component aComponent, ComponentTag aTag) {
  for (IBehavior behavior : behaviors) {
    behavior.onComponentTag(aComponent, aTag);
  }
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

  behavior.onComponentTag(this, tag);
behavior.onComponentTag(this, tag);
origin: org.onehippo.jcr.console/hippo-jcr-console-api

public void setEnabled(boolean isset) {
  enabled = isset;
  if (button != null) {
    button.setEnabled(isset);
    if (ajax) {
      AjaxRequestTarget target = AjaxRequestTarget.get();
      if (target != null) {
        if (!isset) {
          renderAttribute(target, "disabled", "disabled");
        } else {
          target.appendJavascript("Wicket.$('" + button.getMarkupId() + "').removeAttribute('disabled')");
          for (IBehavior behavior : button.getBehaviors()) {
            ComponentTag tag = new ComponentTag("button", XmlTag.OPEN_CLOSE);
            behavior.onComponentTag(button, tag);
            for (Map.Entry<String, Object> entry : tag.getAttributes().entrySet()) {
              renderAttribute(target, entry.getKey(), entry.getValue());
            }
          }
        }
      }
    }
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  behavior.onComponentTag(this, tag);
if (behavior.isEnabled(this))
  behavior.onComponentTag(this, tag);
org.apache.wicket.behaviorIBehavioronComponentTag

Javadoc

Called any time a component that has this behavior registered is rendering the component tag.

Popular methods of IBehavior

  • afterRender
    Called when a component that has this behavior coupled was rendered.
  • beforeRender
    Called when a component is about to render.
  • bind
    Bind this handler to the given component. This method is called by the host component immediately af
  • detach
    Allows the behavior to detach any state it has attached during request processing.
  • exception
    In case an unexpected exception happened anywhere between onComponentTag() and rendered(), onExcepti
  • isEnabled
    Called when a components is rendering and wants to render this behavior. If false is returned this b
  • getStatelessHint
    This method returns false if the behavior generates a callback url (for example ajax behaviors)
  • isTemporary
    Specifies whether or not this behavior is temporary. Temporary behaviors are removed at the end of r

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Best plugins for Eclipse
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