This content has been marked as final.
Show 2 replies
-
1. Re: The page isn't redirecting properly (FireFox)
lexsoto Apr 15, 2008 8:45 PM (in response to lexsoto)Hello,
I figure I may need to provide more info about my problem :)
This is may pages.xml file
<?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.0.xsd" login-view-id="/login.xhtml" > <page view-id="/*" scheme="http" > </page> <page view-id="/login.xhtml" scheme="https"> </page> <page view-id="/index.xhtml"> <begin-conversation join="true" pageflow="mainNavigation"/> </page> <page view-id="/affiliate/list.xhtml" login-required="true"> </page> >
Here is my mainNavigation.jpdl.xml file
<pageflow-definition xmlns="http://jboss.com/products/seam/pageflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-2.0.xsd" name="mainNavigation"> <start-page name="main" view-id="/index.xhtml"> <transition name="affiliates" to="affiliates"/> </start-page> <page name="affiliates" view-id="/affiliate/list.xhtml"> <transition name="edit" to="edit" /> <transition name="comissions" to="commissions" /> <transition name="done" to="main"> <action expression="conversation.end"></action> </transition> </page> <page name="edit" view-id="/affiliate/edit.xhtml"> <transition name="done" to="affiliates"> <action expression="#{affiliateEdit.submit}" /> </transition> <transition name="cancel" to="affiliates" /> </page> </pageflow-definition>
My index.xhtml page has a button like this:
<h:commandButton action="affiliates" value="Affiliates..."/>
When I click on the Affiliates button, the login page should display. Instead, Firefox complains that the page is not redirecting properly. IE does not provide any error message but fails to load the page as well.
Any idea on what I'm doing wrong?
This seems pretty bassic, yet without this I cannot adopt Seam for our project.TIA,
Alex Soto
-
2. Re: The page isn't redirecting properly (FireFox)
albihnf Mar 2, 2010 8:46 AM (in response to lexsoto)Know this is a old thread. But I had a similar problem. I solved it by starting Jboss with -b 0.0.0.0