Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2, 1.8.2-EE-GA
-
Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:Seam + just-ice.jar
Description
When using Seam Mail and Seam PDF with ICEfaces, you have to use just-ice.jar instead of icefaces.jar, and also use the view handler delegation. In this scenario, the ice:inputFile component is not working. It will render out, but when you do an upload it disappears. No error is shown in any log, it just silently fails, and returns to result to the browser. Seam + icefaces.jar, in the Seam component-showcase does demonstrate a functioning inputFile component, so it's specific to just-ice.jar.
-
Hide
- justIceInputFile.zip
- 8.21 MB
- Judy Guglielmin
-
- justIceInputFile/.classpath 0.4 kB
- justIceInputFile/.DS_Store 6 kB
- __MACOSX/justIceInputFile/._.DS_Store 0.1 kB
- justIceInputFile/.mymetadata 0.3 kB
- justIceInputFile/.project 2 kB
- justIceInputFile/.settings/.jsdtscope 0.5 kB
- justIceInputFile/.../org.eclipse.jdt.core.prefs 0.2 kB
- justIceInputFile/.../org.eclipse.wst.jsdt.ui.superType.container 0.0 kB
- justIceInputFile/.../org.eclipse.wst.jsdt.ui.superType.name 0.0 kB
- justIceInputFile/.../org.maven.ide.eclipse.prefs 0.2 kB
- justIceInputFile/pom.xml 8 kB
- justIceInputFile/.../messages_de.properties 8 kB
- justIceInputFile/.../messages_en.properties 6 kB
- justIceInputFile/src/org/.DS_Store 6 kB
- justIceInputFile/src/.../InputFileData.java 4 kB
- justIceInputFile/.../SeamInputFileController.java 8 kB
- justIceInputFile/src/org/jboss/.DS_Store 6 kB
- justIceInputFile/src/org/.../seam/.DS_Store 6 kB
- justIceInputFile/src/.../example/.DS_Store 6 kB
- justIceInputFile/src/org/.../pdf/.DS_Store 6 kB
- justIceInputFile/src/.../pdf/ChartData.java 0.8 kB
- justIceInputFile/src/org/.../pdf/Colors.java 1 kB
- justIceInputFile/src/org/.../pdf/Data.java 2 kB
- justIceInputFile/src/.../DynamicChart.java 9 kB
- justIceInputFile/src/.../FillInForms.java 3 kB
- justIceInputFile/src/org/.../pdf/Lists.java 0.4 kB
- justIceInputFile/src/.../pdf/OrderInfo.java 2 kB
- justIceInputFile/src/.../pdf/Phrases.java 0.4 kB
- justIceInputFile/src/pdf.keystore 1 kB
- justIceInputFile/src/seam.properties 0.0 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
workaround for until this jira is resolved is to include the following line (once you define namespace for "web") in components.xml:-
<web:multipart-filter disabled="true"/>
Show
Judy Guglielmin
added a comment - workaround for until this jira is resolved is to include the following line (once you define namespace for "web") in components.xml:-
<web:multipart-filter disabled="true"/>
attached sample application to test with (use maven to build with >mvn clean package)
best to use jboss AS (as it has all the requirements for seam-tx mgmt, etc).
Show
Judy Guglielmin
added a comment - attached sample application to test with (use maven to build with >mvn clean package)
best to use jboss AS (as it has all the requirements for seam-tx mgmt, etc).
The attached file includes the work-around.
Show
Mark Collette
added a comment - The attached file includes the work-around.
Fixed for just-ice.jar
Subversion 22069
icefaces\core\build.xml
Show
Mark Collette
added a comment - Fixed for just-ice.jar
Subversion 22069
icefaces\core\build.xml
In an icefaces.jar environment, it includes a Seam components.xml file for disabling Seam's multipart filter, which enabled ice:inputFile to function, and disables Seam's file upload component. It looks like just-ice.jar does not have this file, and that's the cause of the problem. Judy put the disabling markup into her application's components.xml, and it started working again. So, the necessary fix is to have just-ice.jar to include the same components.xml file that icefaces.jar does.