Package org.apache.isis.viewer.wicket.model.common

Examples of org.apache.isis.viewer.wicket.model.common.NoResultsHandler


        if (!(model instanceof ActionModel)) {
            return ApplicationAdvice.DOES_NOT_APPLY;
        }
        final ActionModel actionModel = (ActionModel) model;

        final NoResultsHandler hasNoResultsHandler = actionModel.getNoResultsHandler();
        // fail fast if a NoResultsHandler has not been specified
        return appliesIf(hasNoResultsHandler != null);
    }
View Full Code Here


            @Override
            public void onSelected(final Component context, final ObjectAdapter selectedAdapter) {
                entityLink.onSelected(selectedAdapter);
            }
        });
        actionModel.setNoResultsHandler(new NoResultsHandler() {
            private static final long serialVersionUID = 1L;

            @Override
            public void onNoResults(final Component context) {
                entityLink.onNoResults();
View Full Code Here

        setContextArgumentIfPossible(pageParameters, oidStringifier);

        // TODO: if #args < param count, then change the actionMode

        setNoResultsHandler(new NoResultsHandler() {
            private static final long serialVersionUID = 1L;

            @Override
            public void onNoResults(final Component context) {
                reset();
View Full Code Here

        if (!(model instanceof ActionModel)) {
            return ApplicationAdvice.DOES_NOT_APPLY;
        }
        final ActionModel actionModel = (ActionModel) model;

        final NoResultsHandler hasNoResultsHandler = actionModel.getNoResultsHandler();
        // fail fast if a NoResultsHandler has not been specified
        return appliesIf(hasNoResultsHandler != null);
    }
View Full Code Here

            @Override
            public void onSelected(final Component context, final ObjectAdapter selectedAdapter) {
                entityLink.onSelected(selectedAdapter);
            }
        });
        actionModel.setNoResultsHandler(new NoResultsHandler() {
            private static final long serialVersionUID = 1L;

            @Override
            public void onNoResults(final Component context) {
                entityLink.onNoResults();
View Full Code Here

        setContextArgumentIfPossible(pageParameters, oidStringifier);

        // TODO: if #args < param count, then change the actionMode

        setNoResultsHandler(new NoResultsHandler() {
            private static final long serialVersionUID = 1L;

            @Override
            public void onNoResults(final Component context) {
                reset();
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.wicket.model.common.NoResultsHandler

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.