Author: konstantin.mishin
Date: 2007-11-22 12:43:34 -0500 (Thu, 22 Nov 2007)
New Revision: 4202
Added:
trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/frame.xhtml
Modified:
trunk/sandbox/samples/fileUploadPOC/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/index.xhtml
Log:
New project: fileUploadPOC
Modified: trunk/sandbox/samples/fileUploadPOC/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/fileUploadPOC/src/main/webapp/WEB-INF/web.xml 2007-11-22
17:13:46 UTC (rev 4201)
+++ trunk/sandbox/samples/fileUploadPOC/src/main/webapp/WEB-INF/web.xml 2007-11-22
17:43:34 UTC (rev 4202)
@@ -10,6 +10,10 @@
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
<!--
-->
<filter>
Added: trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/frame.xhtml
===================================================================
--- trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/frame.xhtml
(rev 0)
+++ trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/frame.xhtml 2007-11-22
17:43:34 UTC (rev 4202)
@@ -0,0 +1,16 @@
+<!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:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
+
xmlns:c="http://java.sun.com/jsp/jstl/core"
+ >
+ <body>
+ <form action="frame.jsf">
+ <input type="file"/>
+ <input type="file"/>
+ <input type="submit"/>
+ </form>
+ </body>
+</html>
\ No newline at end of file
Modified: trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/index.xhtml 2007-11-22
17:13:46 UTC (rev 4201)
+++ trunk/sandbox/samples/fileUploadPOC/src/main/webapp/pages/index.xhtml 2007-11-22
17:43:34 UTC (rev 4202)
@@ -6,7 +6,7 @@
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
xmlns:c="http://java.sun.com/jsp/jstl/core"
- <f:view>
-
- </f:view>
+ <body>
+ <iframe src="pages/frame.jsf"/>
+ </body>
</html>
\ No newline at end of file