Thank you Leonardo.
I tried using the context wrapper, that would not work at all (same as my
original post).  Is there some other configuration setting I'm missing?  I
did get the extensionFilter working by changing the order, but I really
would like to use the wrapper.
One more thing a side effect of this seems affect the current month display
(and only the current month), the end of the last month and beginning of the
next month are white, while the current month date squares are gray.  Every
other month is displayed correctly.


Leonardo Uribe wrote:
> 
> Hi
> 
> If you want to use tomahawk FacesContext wrapper you should remove or
> comment any entry for extensions filter (<filter-mapping>). Disable
> the check for extensions filter is not enough.
> 
> Try setup your seam filter on top of tomahawk extensions filter,
> changing the register order in your web.xml. Tomahawk fileupload will
> not work with that change, but seam will do it.
> 
> You can change set org.apache.myfaces.RESOURCE_VIRTUAL_PATH web config
> param and then set tomahawk extensions filter to handle mappings with
> that prefix. For example:
> 
>   <context-param>
>     <param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name>
>     <param-value>/res/extensionResource</param-value>
>   </context-param>
> 
>   <filter>
>     <filter-name>extensionsFilter</filter-name>
>    
> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
>     <!-- ... -->
>   </filter>
> 
>   <filter-mapping>
>     <filter-name>extensionsFilter</filter-name>
>     <url-pattern>/res/extensionResource/*</url-pattern>
>   </filter-mapping>
> 
> regards,
> 
> Leonardo Uribe
> 
> 2012/4/19 gebuh <[email protected]>:
>>
>> I'm trying to use Tomahawk scheduler with Seam, however it won't work
>> unless
>> I use the MyFacesExtensionsFilter.  But doing that breaks my Seam file
>> uploads.  Is there other way to do this?  I've tried variations on:
>> <context-param>
>>    <param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
>>
>> <param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value>
>>  </context-param>
>>
>>   <context-param>
>>    <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
>>    <param-value>false</param-value>
>>  </context-param>
>>  <context-param>
>>
>> <param-name>org.apache.myfaces.DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER</param-name>
>>     <param-value>false</param-value>
>>  </context-param>
>>
>> in web.xml, but that just sends my server into a loop.  This is
>> tomahawk1.2-1.1.11 with Seam2.2 and jboss5.
>> TIA
>> --
>> View this message in context:
>> http://old.nabble.com/tomahawk-ExtensionsFilter-tp33716243p33716243.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/tomahawk-ExtensionsFilter-tp33716243p33730166.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to