Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-662

RichFaces validation demo contains invalid navigation rules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • quickstarts
    • None
    • WFK 2.5.0.ER1

      There are two invalid JSF navigation rules in faces-config.xml of richfaces-validation demo. These rules can be safely removed because the application doesn't use them.

      <navigation-rule>
              <from-view-id>/index.xhtml</from-view-id>
              <navigation-case>
                  <from-action>#{auth.authenticate(username)}</from-action>
                  <if>#{auth.logged}</if>
                  <to-view-id>/tasks.xhtml</to-view-id>
                  <redirect />
              </navigation-case>
          </navigation-rule>
          
          <navigation-rule>
              <from-view-id>/tasks.xhtml</from-view-id>
              <navigation-case>
                  <from-action>#{auth.logout}</from-action>
                  <if>#{!auth.logged}</if>
                  <to-view-id>/index.xhtml</to-view-id>
                  <redirect />
              </navigation-case>
          </navigation-rule>
      

              bleathem@redhat.com Brian Leathem (Inactive)
              ppitonak Pavol Pitoňák
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: