<%-- Document : assessment_group Created on : Feb 20, 2008, 5:50:50 PM Author : aili --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <f:view locale="#{facade.locale}"> <%@ include file ="../../../WEB-INF/jspf/Header.jspf" %> <h:form> <tr> <td> <table cellpadding="0" cellspacing="0" class="menu"> <tr style="height:21px"> <td colspan="3"></td> <td align="center" valign="top"><img src="../../../style/arrow_down.gif" alt="" /></td> </tr> <%@ include file="../../../WEB-INF/jspf/UserMenu.jspf" %> </table> <ul class="submenu"> <li><h:outputLink value="#{conf.appRoot}/auth/admin/assessments/assessments_index.faces"> <h:outputText value="#{msgs.Assessments}" /></h:outputLink></li> <li class="active"><h:outputText value="#{msgs.Add_new_assessment}" /></li> </ul> </td> </tr> <%@ include file="../../../WEB-INF/jspf/Heading.jspf" %> <tr> <td> <div style="display:none" id="page_helptext"> <div class="helpheader"> <h:outputText styleClass="helptitle" value="#{msgs.Groups}" /> <span class="vocClose" onclick="destroyOverlay()"><h:outputText value="#{msgs.Close}" /></span> </div> <h:outputText styleClass="helpcontent" value="#{msgs.Assessment_groups_helptext}" /> </div> <br /> <h:outputText value="#{msgs.Choose_assessment_groups}" /> <br /><br /> <%-- Search --%> <h:outputText value="#{msgs.Search}" />: <h:inputText value="#{SubgroupBean.searchWord}" /> <h:selectOneMenu id="School" rendered="#{SubgroupAttributeBean.schoolAttribute}" value="#{SubgroupBean.searchSchool}"> <f:selectItem itemValue="" itemLabel="#{msgs.School}" /> <f:selectItems value="#{SubgroupBean.schoolsList}" /> </h:selectOneMenu> <h:selectBooleanCheckbox title="#{msgs.Only_my_groups}" value="#{SubgroupBean.myGroups}" /> <h:commandButton value="#{msgs.Search}" action="#{SubgroupBean.searchGroupsForAssessment}" /> <h:commandButton value="#{msgs.Reset}" action="#{SubgroupBean.resetFilter}" /> <br /><br /> <h:dataTable value="#{SubgroupBean.groups}" var="item" border="0" cellpadding="2" cellspacing="2"> <h:column> <input type="checkbox" name="sel_group" value="<h:outputText value='#{item.groupId}'/>"/> </h:column> <h:column> <h:outputText value="#{item.title}" /> </h:column> </h:dataTable> <c:if test="${SubgroupBean.hasGroups.rowCount > 0}" > <table border="0" width="99%"> <tr> <td style="width:33%"> <h:commandLink rendered="#{SubgroupBean.hasGroupsPrevious}" value="#{msgs.Previous}" action="#{SubgroupBean.groupsPreviousPage}" /> </td> <td style="text-align:center;width:33%"> <h:outputText value="#{SubgroupBean.currentGroupsPos}" /> </td> <td style="text-align:right;width:33%"> <h:commandLink rendered="#{SubgroupBean.hasGroupsNext}" value="#{msgs.Next}" action="#{SubgroupBean.groupsNextPage}" /> </td> </tr> </table> <h:commandButton value="#{msgs.Next_step}" action="#{AssessmentBean.saveGroups}" /> </c:if> </td> </tr> </h:form> <%@ include file ="../../../WEB-INF/jspf/Footer.jspf" %> </f:view>