Package org.odlabs.wiquery.core.util

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


   */
  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

Related Classes of org.odlabs.wiquery.core.util.MarkupIdVisitor

Copyright © 2018 www.massapicom. 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.