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

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed Nov 26 15:51:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen resolved JBSEAM-3742.
-------------------------------

    Resolution: Done
      Assignee: Dan Allen  (was: Norman Richards)


Created new type pages:outcome that allows any character except for #, {, or } (That is sort of how we tell that it is not a real outcome). Also, I further restricted the pages:method-expression to require the format #{bean.method}.

> 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
>            Assignee: Dan Allen
>             Fix For: 2.1.1.CR2
>
>
> 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