Examples of DroppableOptions


Examples of com.google.code.jqwicket.ui.droppable.DroppableOptions

     * Builds new default, simple droppable options. Subclasses may override this method by creating custom behavior.
     *
     * @return
     */
    protected DroppableOptions newDroppableOptions() {
        return new DroppableOptions()
                .activeClass("ui-state-default")
                .hoverClass("ui-state-hover")
                .accept(":not(.ui-sortable-helper)")
                .dropEvent(
                        "wicketAjaxGet($(this).attr('rel') + '&draggableId=' + ui.draggable.attr('id'), function(){}, function(){})");
View Full Code Here

Examples of com.google.code.jqwicket.ui.droppable.DroppableOptions

        // and implement onDropEvent to send the ajax request to the shopping
        // cart!
        Map<String, Object> ajaxGetParams = new MapBuilder<String, Object>()
                .add("product", js("ui.draggable.text()")).build();

        DroppableOptions options = new DroppableOptions()
                .activeClass("ui-state-default")
                .hoverClass("ui-state-hover")
                .accept(":not(.ui-sortable-helper)")
                .dropEvent(
                        $f(
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.