Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3742

pages.xsd cannot use static navigation

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0.SP1
    • Fix Version/s: 2.1.1.CR2
    • Component/s: Core
    • Labels:
      None

      Description

      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>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dan.j.allen Dan Allen
                  Reporter:
                  gonzalad Dupont Dupont
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: