congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • Menu (java.awt)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JFrame (javax.swing)
  • JList (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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