[richfaces-issues] [JBoss JIRA] Commented: (RF-2985) skin-ext-classes.xcss: the page is redirected to xcss instead of expected page

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Apr 29 08:39:10 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-2985?page=comments#action_12411121 ] 
            
Nick Belaevski commented on RF-2985:
------------------------------------

That's not a bug of RichFaces, nor in Tomahawk, but configuration issue caused by the way form validation works. It just stores authentifacted resources in session and then redirects to the last one requested after successfull login. 

Add the following to the web.xml:


<context-param>
   <param-name>org.ajax4jsf.RESOURCE_URI_PREFIX</param-name>
   <param-value>a4j_resource/</param-value>
</context-param>

and:

	<security-constraint>
		<web-resource-collection>
			<web-resource-name>APPWebShop</web-resource-name>
			<description>
				Allow users to access pictures and css.
			</description>
			<url-pattern>/images/*</url-pattern>
			<url-pattern>/a4j_resource/*</url-pattern>
		</web-resource-collection>
	</security-constraint>

so that resources will work without authentification

> skin-ext-classes.xcss: the page is redirected to xcss instead of expected page
> ------------------------------------------------------------------------------
>
>                 Key: RF-2985
>                 URL: http://jira.jboss.com/jira/browse/RF-2985
>             Project: RichFaces
>          Issue Type: Bug
>            Reporter: Sergey Smirnov
>         Assigned To: Nick Belaevski
>            Priority: Critical
>             Fix For: 3.2.1
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list