EmployeeSummaryPage.xhtml


Dosyayı İndir
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
  <h:body>
    <h:form>

      <h:outputLabel value="Bölüm"/>
      <h:selectOneMenu value="#{employeeSummaryBean.selectedDepartmentId}">        
        <f:selectItem itemValue="0" itemLabel="-- Hepsi --"/>
        <f:selectItems 
          value="#{multipleSelectionBean.departmentList}" var="department"
          itemValue="#{department.departmentId}" itemLabel="#{department.departmentName}"
          />
      </h:selectOneMenu>
      <h:commandLink value="Süz" action="#{employeeSummaryBean.filter()}"/>

      <h:dataTable value="#{employeeSummaryBean.employeeList}" var="employee">

        <h:column>
          <h:outputText value="#{employee.employeeId}"/>
        </h:column>

        <h:column>
          <h:outputText value="#{employee.employeeName}"/>
        </h:column>

        <h:column>
          <h:outputText value="#{employee.monthlySalary}"/>
        </h:column>

        <h:column>
          <h:outputLink value="EmployeeDetailPage.xhtml">
            <f:param name="employeeId" value="#{employee.employeeId}"/>
            Güncelle </h:outputLink>
        </h:column>

        <h:column>
          <h:commandLink value="Sil" action="#{employeeSummaryBean.remove()}">
            <f:param name="employeeId" value="#{employee.employeeId}"/>
          </h:commandLink>
        </h:column>        

      </h:dataTable>
      <h:outputLink value="EmployeeDetailPage.xhtml">
        Ekle</h:outputLink>
    </h:form>
  </h:body>
</html>


				
Dosyayı İndir

Bu Sayfayı Paylaş:




Bu Sayfayı Paylaş:

İletişim Bilgileri

Takip Et

Her Hakkı Saklıdır. Bu sitede yayınlanan tüm bilgi ve fikirlerin kullanımından fibiler.com sorumlu değildir. Bu sitede üretilmiş , derlenmiş içerikleri, fibiler.com'u kaynak göstermek koşuluyla kendi sitenizde kullanılabilirsiniz. Ancak telif hakkı olan içeriklerin hakları sahiplerine aittir