[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-899) faces-config does not recognise redirect in navigation case
Oleg Varaksin (JIRA)
jira-events at lists.jboss.org
Wed Sep 12 09:31:10 EDT 2007
faces-config does not recognise redirect in navigation case
-----------------------------------------------------------
Key: JBIDE-899
URL: http://jira.jboss.com/jira/browse/JBIDE-899
Project: JBoss Tools
Issue Type: Bug
Components: JSF
Affects Versions: 2.0.0.Beta1
Environment: Windows XP, JDK 1.4.10, JSF 1.1, Red Hat Developer Studio Beta 1
Reporter: Oleg Varaksin
My faces-config begins with
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
In the 'tree' or 'source' view I can add <redirect /> as follows
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>logout</from-outcome>
<to-view-id>/index.xhtml</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
But Red Hat Dev. Studio says then "0:0 Unallowed child redirect of navigation-case". 'Redirect' element should be allowed in the faces config !
Thanks.
Oleg Varaksin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list