Package org.geoserver.security.web.role

Examples of org.geoserver.security.web.role.RuleRolesFormComponent


        form.add(accessModeChoice =
            new DropDownChoice<AccessMode>("accessMode", MODES, new AccessModeRenderer()));
        accessModeChoice.setRequired(true);

        form.add(rolesFormComponent = new RuleRolesFormComponent("roles",
            new PropertyModel(rule, "roles")).setHasAnyRole(
                rule.getRoles().contains(GeoServerRole.ANY_ROLE.getAuthority())));

        // build the submit/cancel
        form.add(new SubmitLink("save") {
View Full Code Here


        //    protected void onUpdate(AjaxRequestTarget target) {}
        //});
        methodChoice.setOutputMarkupId(true);
        methodChoice.setRequired(true);
       
        form.add(rolesFormComponent = new RuleRolesFormComponent("roles",
            new PropertyModel<Collection<String>>(rule, "roles")));
            //new Model((Serializable)new ArrayList(rule.getRoles()))));

        // build the submit/cancel
        form.add(new SubmitLink("save") {
View Full Code Here

TOP

Related Classes of org.geoserver.security.web.role.RuleRolesFormComponent

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.