myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Hjarlvig <>
Subject [Tobago] File upload tc:file tx:file
Date Wed, 21 Oct 2009 14:54:21 GMT

I'm attempting to use the tc:file / tx:file control to upload a file.
But when I click the button responsible for submitting the page the
associated action is not invoked, the page is refreshed and showed without
any styles (!?).
Without the tx:file-tag everything works fine.

<tx:file value="#{controller.fileItem}" required="false" label="Upload file"
<tc:button action="#{}" label="Save"/>

I have added the following to my web.xml:


            <description>Set the size limit for uploaded
            <description>Set the upload repository path for uploaded files.
Default value is</description>

There are no errors or warnings, the debug log says:
DEBUG 21 okt 16:38:30
org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter - Wrapping
org.apache.catalina.connector.RequestFacade with
boundary=---------------------------209722283024901" into
DEBUG 21 okt 16:38:30
- Uploaded file name : "image001.gif"  size = 5558

I'm using Tobago 1.0.23 / MyFaces 1.1.6 / Tomcat 6.0.20 / Java 6u15.

I hope someone can provide a hint. Thanks.

Best regards


View raw message