The docs at

 

http://myfaces.apache.org/tomahawk/extensionsFilter.html

 

show the "maxFileSize" init-param for the new
org.apache.myfaces.webapp.filter.ExtensionsFilter that replaces the
deprecated org.apache.myfaces.component.html.util.ExtensionsFilter.

 

Why does that doc mention a "maxFileSize" init-param?  And where is the
init-param for the threshold size?  Looking at the source of the new
ExtensionsFilter it seems like the init-params are still what they used
to be ("uploadMaxFileSize" and "uploadThresholdSize"):

 

http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/o
rg/apache/myfaces/webapp/filter/ExtensionsFilter.java?view=markup

 

 It seems like the doc should be showing the "uploadMaxFileSize" and
"uploadThresholdSize" init-params like this:

 

    <init-param>

            <param-name>uploadMaxFileSize</param-name>

            <param-value>100m</param-value>

            <description>Set the size limit for uploaded files.

                Format: 10 - 10 bytes

                        10k - 10 KB

                        10m - 10 MB

                        1g - 1 GB

            </description>

        </init-param>

        <init-param>

            <param-name>uploadThresholdSize</param-name>

            <param-value>100k</param-value>

            <description>Set the threshold size - files

                    below this limit are stored in memory, files above

                    this limit are stored on disk.

 

                Format: 10 - 10 bytes

                        10k - 10 KB

                        10m - 10 MB

                        1g - 1 GB

            </description>

        </init-param>

 

Is this a documentation bug?  Thanks.

 

----------------

Ture Hoefner

WebLogic Portal Engineering

BEA Systems, Inc.

 


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

Reply via email to