Package com.adito.policyframework.forms

Examples of com.adito.policyframework.forms.PoliciesForm.initialize()


        if (policyForm.isShowPersonalPolicies()) {
            policies = PolicyDatabaseFactory.getInstance().getPolicies(getSessionInfo(request).getUser().getRealm());
        } else {
            policies = PolicyDatabaseFactory.getInstance().getPoliciesExcludePersonal(getSessionInfo(request).getUser().getRealm());
        }
        policyForm.initialize(policies, Policy.class, PolicyItem.class, request.getSession(), "name");
        return super.list(mapping, form, request, response);
    }

    /* (non-Javadoc)
     * @see com.adito.core.actions.CoreAction#getNavigationContext(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
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.