Blame view

grog-webapp/src/main/java/org/legrog/web/xyz/addCountry.xhtml 706 Bytes
Jean-Francois Leveque authored
1 2 3 4 5
<?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"
6 7
      xmlns:jsf="http://xmlns.jcp.org/jsf"
      xmlns:ui="http://java.sun.com/jsf/facelets">
Jean-Francois Leveque authored
8
<body>
9
<ui:include src="/navigation.xhtml" />
10

11
    <form action="" jsf:id="country">
Jean-Francois Leveque authored
12
    <h:panelGrid columns="2">
13 14 15 16
        <label for="name">Nom du pays</label>
        <input type="text" id="name" jsf:value='#{addCountryView.countryName}'/>

        <button jsf:action="#{addCountryView.add}">Ajouter</button>
Jean-Francois Leveque authored
17
    </h:panelGrid>
18
</form>
Jean-Francois Leveque authored
19 20
</body>
</html>