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

Examples of de.agilecoders.wicket.core.markup.html.bootstrap.common.NotificationPanel


    protected ServletContext getServletContext() {
        return ((WebApplication)getApplication()).getServletContext();
    }

    protected NotificationPanel createFeedbackPanel() {
        return new NotificationPanel("feedback");
    }
View Full Code Here


        final EntityCollectionModel model = getModel();

        final ObjectSpecification elementSpec = model.getTypeOfSpecification();

        final NotificationPanel feedback = new NotificationPanel(ID_FEEDBACK);
        feedback.setOutputMarkupId(true);
        addOrReplace(feedback);

        List<ObjectAssociation> numberAssociations = elementSpec.getAssociations(Contributed.EXCLUDED, CollectionContentsAsSummaryFactory.OF_TYPE_BIGDECIMAL);

        RepeatingView repeating = new RepeatingView(ID_REPEATING_SUMMARY);
View Full Code Here

    protected abstract MarkupContainer addComponentForRegular();

    protected abstract Component addComponentForCompact();

    protected void addFeedbackTo(MarkupContainer markupContainer, Component component) {
        markupContainer.addOrReplace(new NotificationPanel(ID_FEEDBACK, component, new ComponentFeedbackMessageFilter(component)));
    }
View Full Code Here

            final boolean rememberMe,
            final boolean continueToOriginalDestination) {
        super(id, rememberMe);
        this.clearOriginalDestination = !continueToOriginalDestination;

        addOrReplace(new NotificationPanel("feedback"));
    }
View Full Code Here

    }

    private void buildGui() {
        collectionContents = getComponentFactoryRegistry().addOrReplaceComponent(this, ComponentType.COLLECTION_CONTENTS, getModel());

        addOrReplace(new NotificationPanel(ID_FEEDBACK, collectionContents, new ComponentFeedbackMessageFilter(collectionContents)));
    }
View Full Code Here

                }

            };
            final Image image = new Image(ID_SCALAR_VALUE, imageResource);
            addOrReplace(image);
            addOrReplace(new NotificationPanel(ID_FEEDBACK, image, new ComponentFeedbackMessageFilter(image)));
        } else {
            permanentlyHide(ID_SCALAR_VALUE, ID_FEEDBACK);
        }
    }
View Full Code Here

        requestRepaintPanel(target);
    }

    private void addFeedbackGui(final MarkupContainer markupContainer) {
        feedback = new NotificationPanel(ID_FEEDBACK, this, new ComponentFeedbackMessageFilter(this));
        feedback.setOutputMarkupPlaceholderTag(true);
        markupContainer.addOrReplace(feedback);

        // to avoid potential XSS attacks, no longer escape model strings
        // (risk is low but could just happen: error message being rendered might accidentally or deliberately contain rogue Javascript)
View Full Code Here

    public ExtensionsBootstrapFileInputPage(PageParameters parameters) {
        super(parameters);

        addBootstrapFileUploadDemo();
        this.feedback = new NotificationPanel("feedback");
        feedback.setOutputMarkupId(true);
        add(feedback);
    }
View Full Code Here

     */
    public IssuesPage(PageParameters parameters) {
        super(parameters);


        add(new NotificationPanel("feedback").hideAfter(Duration.seconds(5)));

        // issue #80
        add(new ParentNavbar("navbar-parent"),
            new SubNavbar("navbar-child"));

View Full Code Here

TOP

Related Classes of de.agilecoders.wicket.core.markup.html.bootstrap.common.NotificationPanel

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.