import.xhtml 1 KB
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:users="http://java.sun.com/jsf/composite/cditools/user"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:p="http://primefaces.org/ui">
<h:body>
	<ui:composition template="#{sessionHandler.template}">
		<f:metadata>
			<f:event type="preRenderView" listener="#{importView.initImport}" />
		</f:metadata>
		<ui:define name="content">

			<h:form enctype="multipart/form-data">
				<h:panelGrid columns="3">

					<h:outputLabel for="file"  value="#{i18n['importuser.file']}"/>
					<p:fileUpload id="file" value="#{importView.file}" mode="simple" />
					<h:message for="file" />
				</h:panelGrid>
				<h:commandButton action="#{importView.parse()}" value="Parse" />
			</h:form>

		</ui:define>
	</ui:composition>
</h:body>
</html>