Author: amarkhel
Date: 2008-09-18 08:30:32 -0400 (Thu, 18 Sep 2008)
New Revision: 10484
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.page.xml
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.xhtml
Log:
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.page.xml
===================================================================
---
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.page.xml
(rev 0)
+++
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.page.xml 2008-09-18
12:30:32 UTC (rev 10484)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<page
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.0.xsd">
+
+ <navigation from-action="#{identity.login}">
+ <rule if="#{identity.loggedIn}">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+
+</page>
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.page.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/cdk/maven-archetype-seam-app/src/main/resources/archetype-resources/web/src/main/webapp/login.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml