Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6360

Need to validate view-id locations in pages.xml

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.), Release Notes

    Description

      Currently one can put a wrong view-id in a navigation in pages.xml and JBoss Tools does not complain about it. It would be nice to have a compile time checking so that
      <page view-id="/home.xhtml" action=
      "#

      {identity.isLoggedIn}

      ">
      <navigation>
      <rule if="#

      {identity.loggedIn}

      ">
      <redirect view-id="/man.xhtml"/>
      </rule>
      </navigation>
      </page>

      for example is flagged as /man.xhtml is spelled wrong, it should be /main.xhtml

      Attachments

        Issue Links

          Activity

            People

              scabanovich Viacheslav Kabanovich (Inactive)
              sjmenden_jira Samuel Mendenhall (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: