I'm using seam-registration as starter, modify on one of the .jspx as follows :
<?xml version="1.0"?>
| <jsp:root
xmlns:jsp="http://java.sun.com/JSP/Page"
|
xmlns:s="http://jboss.com/products/seam/taglib"
|
xmlns:h="http://java.sun.com/jsf/html"
|
xmlns:f="http://java.sun.com/jsf/core"
|
xmlns="http://www.w3.org/1999/xhtml"
| version="2.0">
| <jsp:output doctype-root-element="html"
| doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
|
doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional...
| <jsp:directive.page contentType="text/html"/>
| <html>
| <body>
| <f:view>
| <table>
| <tr>
| <td width="100%"">
| <br/>File to upload:
| <h:form enctype="multipart/form-data">
| <s:fileUpload data="#{admin.uploadedFile}"/>
| </h:form>
| </td>
| </tr>
| </table>
| </f:view>
| </body>
| </html>
| </jsp:root>
But the file-upload control doesn't render -no error though- what is missing?
Yes, I saw working file-upload on seamspace, but I want to use .jspx rather than .xhtml.
Please help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034906#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...