Examples of MarkupIdVisitor


Examples of org.odlabs.wiquery.core.util.MarkupIdVisitor

  protected Component findComponentById(String id)
  {
    if (id == null)
      return null;

    MarkupIdVisitor visitor = new MarkupIdVisitor(id);
    getBehavior().getBehaviorComponent().getPage().visitChildren(visitor);
    return visitor.getFoundComponent();
  }
View Full Code Here

Examples of org.odlabs.wiquery.core.util.MarkupIdVisitor

   */
  public final void onDrop(AjaxRequestTarget target) {
    // getting dropped element id to retrieve the Wicket component
    String input = this.getComponent().getRequest().getParameter(
        "droppedId");
    MarkupIdVisitor visitor = new MarkupIdVisitor(input);
    this.getComponent().getPage().visitChildren(visitor);
    onDrop(visitor.getFoundComponent(), target);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.