Examples of purgeDeletedKeys()


Examples of org.apache.tapestry.form.ListEditMap.purgeDeletedKeys()

        m.setDeleted(true);

        checkList("deleted keys before purge", new Object[]
        { "render" }, m.getDeletedKeys());

        m.purgeDeletedKeys();

        checkList("all values after purge", new Object[]
        { BeanLifecycle.REQUEST, BeanLifecycle.PAGE }, m.getAllValues());
        checkList("keys after purge", new Object[]
        { "request", "page" }, m.getKeys());
View Full Code Here

Examples of org.apache.tapestry.form.ListEditMap.purgeDeletedKeys()

        checkList("keys after purge", new Object[]
        { "request", "page" }, m.getKeys());

        assertTrue(m.getDeletedKeys().isEmpty());

        m.purgeDeletedKeys();

        checkList("all values after second purge", new Object[]
        { BeanLifecycle.REQUEST, BeanLifecycle.PAGE }, m.getAllValues());
        checkList("keys after second purge", new Object[]
        { "request", "page" }, m.getKeys());
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.