Package org.geoserver.security.web.role

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


                getSecurityManager().getActiveRoleService().getRolesForGroup(group.getGroupname()));
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
       
        form.add(rolePalette = new RolePaletteFormComponent("roles", new Model((Serializable)roles)));
        rolePalette.setEnabled(hasRoleStore);
       
        form.add(new SubmitLink("save") {
            @Override
            public void onSubmit() {
View Full Code Here


                getSecurityManager().getActiveRoleService().getRolesForUser(user.getUsername()));
        } catch (IOException e) {
            throw new WicketRuntimeException(e);
        }
       
        form.add(rolePalette = new RolePaletteFormComponent("roles", new ListModel(roles)));
        rolePalette.add(new AjaxFormComponentUpdatingBehavior("onchange") {
           @Override
           protected void onUpdate(AjaxRequestTarget target) {
               updateCalculatedRoles(target);
               updateGroupAdminList(target);
View Full Code Here

TOP

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

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.