[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-3466) There is an error message on pages.xml editor for some valid pages.xml for Seam 2.1: Editor model doesn't support child element rule of navigation.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Dec 24 13:23:54 EST 2008


There is an error message on pages.xml editor for some valid pages.xml for Seam 2.1: Editor model doesn't support child element rule of navigation.
---------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBIDE-3466
                 URL: https://jira.jboss.org/jira/browse/JBIDE-3466
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Seam
    Affects Versions: 3.0.0.cr1
            Reporter: Alexey Kazakov
            Assignee: Viacheslav Kabanovich
             Fix For: 3.0.0.CR2


Here is a valid pages.xml:

<?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.1.xsd"
       no-conversation-view-id="/home.xhtml"
       login-view-id="/login.xhtml">

    <page view-id="/admin/post.xhtml">
    	<navigation from-action="#{postHome.update}">
    		<end-conversation/>
      		<rule if-outcome="updated">
         		<redirect view-id="/home.xhtml"/>
      		</rule>
   		</navigation>
	</page>

</pages>

But pages.xml editor shows an error for such pages. See screenshot. This xml is not correct for pages-2.0.xsd but it is correct for pages-2.1.xsd. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list