Files
myhealth/1.sources/MyHealth/docroot/systemAdmin/ManageSpecialties.xhtml

32 lines
1.4 KiB
HTML

<?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:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui" xmlns:o="http://omnifaces.org/ui">
<ui:composition template="../header.xhtml">
<ui:define name="content">
<h:form id="frmManageSpecialties">
<p:messages id="mesgs" showDetail="true" closable="true" autoupdate="true" />
<p:panel id="PanelMS" header="Página Gestión de Especialidades">
<div class="ui-g ui-fluid">
<div class="ui-g-2 ui-md-2">
<p:autoComplete id="specialty" dropdown="true" required="true"
value="#{SystemAdmin.medicalSpecialty}" completeMethod="#{SystemAdmin.completeMedicalSpecialty}" var="ms"
placeholder="----- Selecciona una especialidad -----" itemLabel="#{ms.name}" itemValue="#{ms.name}" forceSelection="true">
<o:converter converterId="omnifaces.ListConverter" list="#{RegisterUser.medicalSpecialtiesList}" />
<p:column>
<h:outputText value="#{ms.name}" />
</p:column>
</p:autoComplete>
</div>
<div class="ui-g-4 ui-md-4">
<p:message for="specialty" />
</div>
</div>
</p:panel>
</h:form>
</ui:define>
</ui:composition>
</html>