Package org.wicketstuff.jwicket

Examples of org.wicketstuff.jwicket.ChildrenFinder


      EventType eventType = EventType.stringToType(request.getParameter(EventType.IDENTIFIER));

      String draggedItemId = request.getParameter("draggedItemId");

      // We need the body of the <li> tag, the component inside it
      ChildrenFinder childrenFinder = new ChildrenFinder(draggedItemId);
      component.getPage().visitChildren(childrenFinder);
      if (childrenFinder.getFoundComponents().size() != 1)
        throw new WicketRuntimeException("this should not happen");
      Component sortedComponent = childrenFinder.getFoundComponents().get(0);

      if (eventType == EventType.STOP) {
        int newPosition = 0;

        try {
View Full Code Here

TOP

Related Classes of org.wicketstuff.jwicket.ChildrenFinder

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.