<?xml version="1.0" encoding="UTF-8"?>
<section id="seamMultipartFilter" role="NotInToc">
    <?dbhtml filename="seamMultipartFilter.html"?>
    <sectioninfo>
        <keywordset>
            <keyword>rich:fileUpload</keyword>
            <keyword>Seam</keyword>
            <keyword>multi-part</keyword>
            <keyword>filter</keyword>
        </keywordset>
    </sectioninfo>
    <title>&lt;rich:fileUpload&gt; with Seam multi-part filter</title>
    <section>
        <title>Description</title>
        <para>
            The <emphasis role="bold"><property>&lt;rich:fileUpload&gt;</property></emphasis> component does not work with <property>Seam</property> multi-part filter.
        </para>
    </section>
    <section>
        <title>Links</title>
        <itemizedlist>
            <listitem>
                <para>
                    <ulink url="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;p=4141587#4141587">RichFaces Forum</ulink>
                </para>
            </listitem>
        </itemizedlist>
    </section>
    <section>
        <title>How to reproduce</title>    
        <para>
           The problem occurs if you use the <emphasis role="bold"><property>&lt;rich:fileUpload&gt;</property></emphasis> component and <property>Seam</property> multi-part filter at the same time.
        </para>
    </section>
    <section>
        <title>Causes</title>
        <para>
            Lack of specification on the <property>Servlet</property> level does not allow to use stuff doing the same thing. One of them should be turned off. 
        </para>
    </section>
    
    <section>
        <title>Workarounds</title>
        <para>
            The solution is turn the <property>Seam</property> multi-part filter off.
        </para>
    </section>
</section>