[jboss-user] [JBoss Seam] - Page Redirection with Seam Navigation
trickyvail
do-not-reply at jboss.com
Wed Mar 28 11:56:32 EDT 2007
I would like to use JSF or Seam navigation rules to redirect page requests. This would avoid having to update all the other pages' references when a page changes location. I've tried variations of the following configuration:
FILE: /real/location/actual_page.page.xml
| <!DOCTYPE
| page PUBLIC "-//JBoss/Seam Pages Configuration DTD 1.1//EN"
| "http://jboss.com/products/seam/pages-1.1.dtd"
| >
| <page view-id="/imaginary/location/virtual_page.xhtml">
| <navigation>
| <rule>
| <redirect view-id="/real/location/actual_page.xhtml"/>
| </rule>
| </navigation>
| </page>
But with no success. Sometimes I can get a 403 Error: Access to the requested resource has been denied, but more often I recieve a 404 Error: Resource not found. I have not created any access restrictions on the target file.
Any assistance is greatly appreciated, especially if someone knows a resource for instructiuons / examples of Seam navigation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032410#4032410
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032410
More information about the jboss-user
mailing list