Package org.jtalks.jcommune.web.validation.editors

Examples of org.jtalks.jcommune.web.validation.editors.PageSizeEditor


    public void initBinder(WebDataBinder binder) {
        binder.registerCustomEditor(String.class, "userSecurityDto.currentUserPassword", new DefaultStringEditor(true));
        binder.registerCustomEditor(String.class, "userSecurityDto.newUserPassword", new DefaultStringEditor(true));
        binder.registerCustomEditor(String.class, "userSecurityDto.newUserPasswordConfirm",
                new DefaultStringEditor(true));
        binder.registerCustomEditor(Integer.class, "userProfileDto.pageSize", new PageSizeEditor());
        binder.registerCustomEditor(String.class, new StringTrimmerEditor(true));
        binder.registerCustomEditor(String.class, "avatar", new DefaultAvatarEditor(imageService));
    }
View Full Code Here

TOP

Related Classes of org.jtalks.jcommune.web.validation.editors.PageSizeEditor

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.