[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3742) pages.xsd cannot use static navigation

Gonzalez Adrian (JIRA) jira-events at lists.jboss.org
Fri Nov 21 17:17:37 EST 2008


pages.xsd cannot use static navigation
--------------------------------------

                 Key: JBSEAM-3742
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3742
             Project: Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1.0.SP1
            Reporter: Gonzalez Adrian


pages-2.1.xsd is too restrictive, I cannot write anymore :
<navigation from-action="goBack"> 

>From pages.xsd definition, 'from-action' value must always be an El expression (so called 'dynamic navigation'). 
This shouldn't be the case, web should be able to use static navigation.

Here's the pages-2.1.xsd showing the restriction :
    <xs:simpleType name="view-id">
        <xs:restriction base="xs:string">
            <xs:pattern value="(/.*)|\*"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:attributeGroup name="attlist.navigation">
        <xs:attribute name="from-action" type="pages:method-expression" />
        <xs:attribute name="evaluate" type="pages:method-expression" />
    </xs:attributeGroup>


-- 
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 seam-issues mailing list