<?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">
    <h:head>
        <title>JSF RSBK</title>
    </h:head>
    <h:body>
        <center>
             <h2>Tambah Data Mahasiswa</h2>
             
            <h:form>
            <table>
            <tr>
               <td>NIM :</td>
               <td><h:inputText value="#{mahasiswa.NIM}" ></h:inputText></td>
            </tr>
            <tr>
               <td>Nama Mahasiswa :</td>
               <td><h:inputText value="#{mahasiswa.NAMA}" ></h:inputText></td>
            </tr>
            <tr>
               <td>Penjurusan :</td>
               <td><h:inputText value="#{mahasiswa.PENJURUSAN}"></h:inputText></td>
            </tr>
            </table>
                <br></br>
                <h:commandButton value="Tambahkan" action="#{mahasiswa.Tambah_Mahasiswa}"></h:commandButton>
              <br></br>
              <br></br>
            </h:form>
                    <h:form>
                   <h:commandButton value="Kembali" action="index.xhtml"></h:commandButton>
       </h:form>
        </center>
                   
    </h:body>
</html>

