Author: konstantin.mishin
Date: 2010-11-22 13:57:32 -0500 (Mon, 22 Nov 2010)
New Revision: 20134
Modified:
sandbox/trunk/examples/fileupload-demo/src/main/webapp/fileupload.xhtml
Log:
RF-9501
Modified: sandbox/trunk/examples/fileupload-demo/src/main/webapp/fileupload.xhtml
===================================================================
--- sandbox/trunk/examples/fileupload-demo/src/main/webapp/fileupload.xhtml 2010-11-22
18:35:31 UTC (rev 20133)
+++ sandbox/trunk/examples/fileupload-demo/src/main/webapp/fileupload.xhtml 2010-11-22
18:57:32 UTC (rev 20134)
@@ -4,6 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:a4j="http://richfaces.org/a4j"
xmlns:fu="http://richfaces.org/fileUpload">
<!--
JBoss, Home of Professional Open Source
@@ -41,7 +42,7 @@
<br />
<fu:fileUpload fileUploadListener="#{fileUploadBean.listener}"/>
<h:outputText value="File name:" />
- <h:outputText value="#{fileUploadBean.item.fileName}" />
+ <a4j:outputPanel
ajaxRendered="true">#{fileUploadBean.item.fileName}</a4j:outputPanel>
<input type="submit" />
</h:form>
</h:body>