[jboss-cvs] jboss-seam/examples/seamspace/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Wed Feb 7 11:38:07 EST 2007
User: gavin
Date: 07/02/07 11:38:07
Modified: examples/seamspace/resources/WEB-INF components.xml
pages.xml
Log:
minor
Revision Changes Path
1.19 +3 -3 jboss-seam/examples/seamspace/resources/WEB-INF/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/resources/WEB-INF/components.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- components.xml 6 Feb 2007 16:26:35 -0000 1.18
+++ components.xml 7 Feb 2007 16:38:07 -0000 1.19
@@ -20,7 +20,7 @@
<security:identity authenticate-method="#{authenticator.authenticate}"/>
<drools:rule-base name="securityRules">
- <drools:rule-files>/META-INF/security-rules.drl</drools:rule-files>
+ <drools:rule-files><value>/META-INF/security-rules.drl</value></drools:rule-files>
</drools:rule-base>
<component name="entityManager" auto-create="true" class="org.jboss.seam.core.ManagedPersistenceContext">
1.21 +3 -3 jboss-seam/examples/seamspace/resources/WEB-INF/pages.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pages.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/resources/WEB-INF/pages.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- pages.xml 5 Feb 2007 06:07:26 -0000 1.20
+++ pages.xml 7 Feb 2007 16:38:07 -0000 1.21
@@ -6,7 +6,7 @@
<page view-id="/home.xhtml">
<navigation from-action="#{identity.login}">
- <rule if="#{identity.loggedIn}">
+ <rule if-outcome="success">
<redirect view-id="/profile.xhtml"/>
</rule>
</navigation>
@@ -90,17 +90,17 @@
</page>
<exception class="org.jboss.seam.security.NotLoggedInException">
+ <end-conversation/>
<redirect view-id="/register.xhtml">
<message>You must be a member to use this feature</message>
</redirect>
- <end-conversation/>
</exception>
<exception class="org.jboss.seam.security.AuthorizationException">
+ <end-conversation/>
<redirect view-id="/security_error.xhtml">
<message>You do not have permission to do this</message>
</redirect>
- <end-conversation/>
</exception>
</pages>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list