Package org.apache.roller.ui.authoring.struts.formbeans

Examples of org.apache.roller.ui.authoring.struts.formbeans.WebsiteFormEx.copyTo()


                }
               
                if (errors.isEmpty()) {
                    // ensure getEnabled can't be changed
                    form.setEnabled(wd.getEnabled());
                    form.copyTo(wd, request.getLocale());
                   
                    // ROL-485: comments not be allowed on inactive weblogs
                    if (wd.getActive() != null && !wd.getActive().booleanValue()) {
                        wd.setAllowComments(Boolean.FALSE);
                        messages.add(null, new ActionMessage(
View Full Code Here


            if ( rollerSession.isUserAuthorizedToAdmin(wd)) {
                checkBlacklist(errors, messages, form.getBlacklist());
                if (errors.isEmpty()) {
                    // ensure getEnabled can't be changed
                    form.setEnabled(wd.getEnabled());
                    form.copyTo(wd, request.getLocale());
                   
                    // ROL-485: comments not be allowed on inactive weblogs
                    if (wd.getActive() != null && !wd.getActive().booleanValue()) {
                        wd.setAllowComments(Boolean.FALSE);
                        messages.add(null, new ActionMessage(
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.