[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4229) RichFaces loses skin with login-required="true" in pages.xml

Harry Bush (JIRA) jira-events at lists.jboss.org
Fri Apr 9 14:02:38 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBSEAM-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12524955#action_12524955 ] 

Harry Bush commented on JBSEAM-4229:
------------------------------------

I can reliably repordue this issue with a global navigation rule and login-required="true"

<?xml version="1.0" encoding="UTF-8"?>
<pages xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"
	login-view-id="/portal/login.xhtml">
	
	<page view-id="*" login-required="true"  >
		<navigation>
			<rule if-outcome="com.expd.portal.launch">
				<redirect url="#{launchURL.url}" />
			</rule>
		</navigation>
		
		<navigation from-action="#{identity.login}">
			<rule if="#{identity.loggedIn}">
				<redirect view-id="/portal/landing.xhtml"/>
			</rule>
		</navigation>
		
	</page>

> RichFaces loses skin with login-required="true" in pages.xml
> ------------------------------------------------------------
>
>                 Key: JBSEAM-4229
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4229
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.2.CR2
>         Environment: Seam 2.1.1.GA on JBoss 5.0.0.GA. 
>            Reporter: Moritz Winter
>
> To reproduce:
> 1) Create a new project via seam-gen.
> 2) Run ./seam new-entity and create a Foo entity (this gives you some CRUD screens)
> 2) Edit pages.xml and set attribute login-required="true" for the <page view-id="*"> node.
> 3) Deploy the project and start the appserver.
> 4) Access the url for the app, this will direct to the login screen, to say that login is required. Login, and access the CRUD screens.
> 5) Logout. Access a CRUD List screen from the menu. This may show a cached screen, so refresh the page.
> This directs to the login screen, but the RichFaces CSS skin is gone permanently.

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

        


More information about the seam-issues mailing list