Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
1.4
-
None
-
None
Description
Support for wildcard globbing in property ignoreViewIds of AccessScopeManagerConfiguration bean.
Recently i've faced the same problem discussed in this thread:
http://www.mail-archive.com/users@myfaces.apache.org/msg47621.html
When a Richfaces custom resource (like for example a xcss style sheet)
is rendered it runs a complete JSF lifecycle, including all
the post-render phase listeners.
This invalidates all the "access" scope conversations in the current
conversation context.
AccessScopeManagerConfiguration provides a property named ignoreViewIds
that allows to ignore specific view names. However this property supports
only fixed view names.
I've provided a patch to add support for wildcard globbing, so Orchestra's AccessScopeManagerConfiguration class can
be configured in spring to ignore richfaces custom resources with the following code:
<bean
name="org.apache.myfaces.orchestra.conversation.AccessScopeManagerConfiguration"
class="org.apache.myfaces.orchestra.conversation.AccessScopeManagerConfiguration"
scope="singleton">
<property name="ignoreViewIds">
<set>
<value>.xcss</value>
</set>
</property>
</bean>