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)