Hi,
I am developing with JBoss Seam 2.2, primefaces 1.1. So far everything is great. However, navigation rules in my pages.xml (seam) do not work. They did a while ago when my app was deployed with richfaces. Has anyone else had this problem?
seam pages.xml navigation not working in primefaces app
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I'm not a seam user but I know many people here used seam 2.x and PrimeFaces 1.x together with no major issues.
thanks for your reply optimus. It was evident that other people do not have the same problems or at least they have not complained on this forum. I searched the entire forum and found nothing. An additional fact about my app is that I am using seam's rewrite filter to rewrite urls. Perhaps primefaces has an issue working with this? It worked (seam rewriting) nonetheless with richfaces.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
PrimeFaces 1.x for JSF 1.2 is not maintained anymore so not sure what goes wrong with old codebase. So do you just stay on same page when you try to navigate?
yes I just remain on the same page when I try to redirect after an action as defined in my pages.xml. Below is a sample piece of code from my pages.xml for the login action.
I have also correspondingly defined the rewrite and redirect filters in my components.xml as shown below
Any help would be appreciated.
p.s. I am deploying my app on JBoss Application Server 5.1 GA.
Code: Select all
<page view-id="/login.xhtml">
<rewrite pattern="/signin" />
<navigation from-action="#{identity.login}">
<rule if="#{identity.loggedIn}">
<redirect view-id="/office.xhtml"/>
</rule>
</navigation>
</page>
Code: Select all
<web:redirect-filter url-pattern="*.seam"/>
<web:rewrite-filter view-mapping="*.seam"/>
p.s. I am deploying my app on JBoss Application Server 5.1 GA.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests