ICEfaces
  1. ICEfaces
  2. ICE-3090

Action attribute does not work when using </redirect> & <from-view-id> in navigation rule

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      N/A

      Description

      Following ice compoents have failed the test but it seems like a common problem across all ice components that support ACTION attribute.
      1)selectInputDate
      2)inputText
      3)commandLink
      4)commandButton

      This works:
      <navigation-rule>
       <navigation-case>
         <from-outcome>page2</from-outcome>
         <to-view-id>/page2.jspx</to-view-id>
       </navigation-case>
      </navigation-rule>

      This does not work:
      <navigation-rule>
       <from-view-id>/Calendar.jspx</from-view-id>
       <navigation-case>
         <from-outcome>page2</from-outcome>
         <to-view-id>/page2.jspx</to-view-id>
         <redirect/>
       </navigation-case>
      </navigation-rule>

      NOTE: For 'h:commadLink' redirect with from-view-id worked fine.

        Activity

        Hide
        Mandeep Hayher added a comment -

        Marking issue as in valid. Reason for failure was the missing configuration in the web.xml file.

        <servlet-mapping>
        <servlet-name>Persistent Faces Servlet</servlet-name>
        <url-pattern>*.jspx</url-pattern>
        </servlet-mapping>

        Show
        Mandeep Hayher added a comment - Marking issue as in valid. Reason for failure was the missing configuration in the web.xml file. <servlet-mapping> <servlet-name>Persistent Faces Servlet</servlet-name> <url-pattern>*.jspx</url-pattern> </servlet-mapping>

          People

          • Assignee:
            Unassigned
            Reporter:
            Mandeep Hayher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: