[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg

2008-01-31 Thread wachtda
hello together what is with manualy entered urls? if the user types in: http://server/application/login.seam no action is fired and this cause that the doesnt apply! any suggestions? daniel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125063#4125063 Reply

[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg

2008-01-31 Thread reyjexter
hey thanks for all the replies. anyway this is my login.page.xml (just the same as the pages.xml but specifically for login page. i just use this because this is generated by seam-gen): | ?xml version=1.0 encoding=UTF-8? | page xmlns=http://jboss.com/products/seam/pages; |

[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg

2008-01-31 Thread fernando_jmt
Try the following change: | | ?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;

[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg

2008-01-30 Thread [EMAIL PROTECTED]
You can use a page action for this - check if the user is logged in, if they are, direct them to a different page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124916#4124916 Reply to the post :

[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg

2008-01-30 Thread brachie
Hi, here is a wiki-article about the topic: http://wiki.jboss.org/wiki/Wiki.jsp?page=AutomaticLoginRedirection It works but I have the problem, that I get an infinite loop when trying to I enter the application directly calling login.seam page. If I do this an enter my login/passwd the

[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg

2008-01-30 Thread fernando_jmt
How your pages.xml login page is configured? Does it have login-required=false? like: | page view-id=/login.xhtml action=#{identity.login} login-required=false | navigation from-action=#{identity.login} | rule if=#{identity.loggedIn} | redirect