This content has been marked as final.
Show 7 replies
-
1. Re: Configuring MultipartFilter
shane.bryzak Nov 1, 2007 7:36 PM (in response to skanky78)In components.xml:
<web:multipart-filter create-temp-files="true" max-request-size="1000000" url-pattern="*.seam"/>
-
2. Re: Configuring MultipartFilter
skanky78 Nov 2, 2007 6:20 AM (in response to skanky78)hi shane,
does this work without defining the seamfilter?
greetings,
sven -
3. Re: Configuring MultipartFilter
zaya Nov 2, 2007 7:00 AM (in response to skanky78)I don't think so.
Is your multipart filter a component which overrides "org.jboss.seam.web.multipartFilter"? -
4. Re: Configuring MultipartFilter
skanky78 Nov 2, 2007 8:07 AM (in response to skanky78)no, i don't want to override it...i just want to configure (set maximum file size property) the original one.
-
5. Re: Configuring MultipartFilter
zaya Nov 2, 2007 10:36 PM (in response to skanky78)Component attribute settings don't need any filter enabled. It's injected from component load time. If it doesn't work, it might be a bug.
You can always override mulitpart filter(just by specify @Install(precedence = Install.APPLICATION) and set that attribute manually. -
6. Re: Configuring MultipartFilter
shane.bryzak Nov 2, 2007 11:52 PM (in response to skanky78)"skanky78" wrote:
does this work without defining the seamfilter?
No, SeamFilter is required to be configured for the built-in filters to work. If there are filters you don't wish to use, simply disable them (disabled="true") in components.xml. -
7. Re: Configuring MultipartFilter
skanky78 Nov 3, 2007 7:08 AM (in response to skanky78)ok thanky you...i will give it a try...
cheers,
sven