Sie sind auf Seite 1von 2

<?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">

<ui:composition template="/WEB-INF/template_ppal.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:pe="http://primefaces.org/ui/extensions"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:jsf="http://xmlns.jcp.org/jsf"
xmlns:a="http://xmlns.jcp.org/jsf/passthrough"
xmlns:h="http://xmlns.jcp.org/jsf/html">
<ui:define name="encabezado">
Empresa
</ui:define>

<ui:define name="contenido">
<h:form>
<div class="row">
<div class="col-xs-6 middle-xs">
<div class="box">
<div class="form-group">

<label for="id">Nombre Comercial: *</label>


<h:inputText a:type="number" id="id" class="form-
control" value="#{empresaController.empresa.nombreComercial}" ></h:inputText>

</div>
</div>

</div>
<div class="col-xs-6 middle-xs">
<div class="box">
<div class="form-group">
<label for="nombre">Nombre: *</label>
<h:inputText id="nombre" class="form-control"
value="#{empresaController.empresa.nit}"></h:inputText>
</div>
</div>

</div>
</div>
<div class="row">
<div class="col-xs-2 col-xs-offset-4 middle-xs">
<div class="box">
<h:commandButton class="btn btn-success" style="width:
100%;" action="#{empresaController.guardarEmpresa()}"
value="Guardar"></h:commandButton>
<i class="fa fa-check" ></i> Guardar
</div>

</div>
<div class="col-xs-2 middle-xs">
<div class="box">
<button class="btn btn-danger" style="width: 100%;"><i
class="fa fa-times"></i> Cancelar</button>
</div>
</div>
</div>
</h:form>
</ui:define>
</ui:composition>

Das könnte Ihnen auch gefallen