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

pages-2.0.xsd handling of <Navigation> doesn't allow standard rules and a null-accepting implicit rule

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0.0.GA
    • Fix Version/s: 2.0.1.CR2
    • Component/s: None
    • Labels:
      None

      Description

      pages-2.0.xsd doesn't allow something like this:

      <page view-id="/admin/manage/registrants/confirmDeleteRegistrant.xhtml">
      <navigation from-action="#

      {registrantController.deleteSelectedRegistrant}

      ">
      <rule if="#

      {not empty registration.existingRegistrants}

      ">
      <redirect view-id="/admin/manage/registrants/showRegistration.xhtml"/>
      </rule>

      <redirect view-id="/admin/registrantSearching.xhtml"/>
      </navigation>
      </page>

      The XSD file doesn't allow a set of <rule>s and an implicit rule, even though Pages.java handles it correctly.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                matt.drees Matt Drees
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: