Codota Logo
IBehavior.afterRender
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.wamblee/wamblee-wicket-components

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

/**
 * {@link IBehavior#afterRender(Component)} Notify all behaviors that are assigned to this
 * component that the component has rendered.
 */
private void notifyBehaviorsComponentRendered()
{
  // notify the behaviors that component has been rendered
  List behaviors = getBehaviorsImpl();
  if (behaviors != null)
  {
    for (Iterator i = behaviors.iterator(); i.hasNext();)
    {
      IBehavior behavior = (IBehavior)i.next();
      if (isBehaviorAccepted(behavior))
      {
        behavior.afterRender(this);
      }
    }
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * {@link IBehavior#afterRender(Component)} Notify all behaviors that are assigned to this
 * component that the component has rendered.
 */
private void notifyBehaviorsComponentRendered()
{
  // notify the behaviors that component has been rendered
  for (IBehavior behavior : getBehaviors())
  {
    if (isBehaviorAccepted(behavior))
    {
      behavior.afterRender(this);
    }
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  public void visitItem(TreeItem item)
  {
    // rewind markupStream
    markupStream.setCurrentIndex(index);
    // render child
    item.onRender(markupStream);
    // go through the behaviors and invoke IBehavior.afterRender
    List<IBehavior> behaviors = item.getBehaviors();
    for (IBehavior behavior : behaviors)
    {
      behavior.afterRender(item);
    }
  }
});
org.apache.wicket.behaviorIBehaviorafterRender

Javadoc

Called when a component that has this behavior coupled was rendered.

Popular methods of IBehavior

  • onComponentTag
    Called any time a component that has this behavior registered is rendering the component tag.
  • 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
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now