33 lines
1.2 KiB
HTML
33 lines
1.2 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:h="http://xmlns.jcp.org/jsf/html"
|
|
xmlns:p="http://primefaces.org/ui">
|
|
<h:head>
|
|
<title>Facelet Title</title>
|
|
</h:head>
|
|
<h:body>
|
|
<h:form>
|
|
<p:growl id="localForm1Growl" showDetail="true" life="3000"
|
|
redisplay="true" />
|
|
<p:fileUpload id="upload" value="#{fileUploadBean}"
|
|
mode="advanced"
|
|
process="@this"
|
|
listener="#{fileUploadBean.handleFileUpload}"
|
|
dragDropSupport="true"
|
|
update="localForm1Growl"
|
|
label="Add a file"
|
|
uploadLabel=" upload all"
|
|
cancelLabel="discard all"
|
|
>
|
|
|
|
|
|
<p:dataTable >
|
|
<p:column>
|
|
</p:column >
|
|
</p:dataTable>
|
|
</p:fileUpload>
|
|
</h:form>
|
|
</h:body>
|
|
</html>
|