Package de.agilecoders.wicket.core.markup.html.bootstrap.dialog

Examples of de.agilecoders.wicket.core.markup.html.bootstrap.dialog.TextContentModal


        add(createColorPickerForm("colorpicker-form"));
    }

    private Modal<String> newModalDialog(String markupId) {
        final Modal<String> modal = new TextContentModal(markupId, Model.of("Issue #90"));
        modal.addButton(new ModalCloseButton());

        return modal;
    }
View Full Code Here


                + "final ButtonListContextMenu contextMenu = new ButtonListContextMenu(\"contextmenu\", \n"
                + "\t\tModel.ofList(buttons));\n"
                + "contextMenu.assignTo(contextPanel);\n"
                + "add(contextMenu, contextPanel,")));

    Modal<String> draggableModal = new TextContentModal(
        "draggable-modal",
        Model.of("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."));
    // draggableModal.add(new Draggable(new
    // DraggableConfig().withHandle(".modal-header").withCursor("move")));
    // draggableModal.add(new Resizable());
    draggableModal.setUseKeyboard(true).addCloseButton();
    draggableModal.setFadeIn(false);
    Label draggableButton = new Label("open-draggable", "Open Modal Dialog");
    draggableModal.addOpenerAttributesTo(draggableButton);
    add(draggableModal, draggableButton,
        new Code("draggable-code", Model.of("")));

    DropDownButton dropDownButton = new DropDownButton("dropdown",
        Model.of("open-on-hover")) {
View Full Code Here

TOP

Related Classes of de.agilecoders.wicket.core.markup.html.bootstrap.dialog.TextContentModal

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.