javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-2511 Implement ResourceResourceLibraryContracts
  3. JAVASERVERFACES-2671

add a test that asserts that putting a "contracts" attribute on an f:view that happens to be in a facelet file that is not the "root" of the facelet inclusion is silently ignored

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-m09
    • Component/s: facelets
    • Labels:
      None

      Description

      add a test that asserts that putting a "contracts" attribute on an f:view that happens to be in a facelet file that is not the "root" of the facelet inclusion is silently ignored

      See the VDLDoc for the "contracts" attribute of f:view.

        Activity

        Hide
        Manfred Riem added a comment -

        Applied to 2.2 trunk,

        svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2671, r=rogerk, make sure we ignore a f:view contracts attributes not on the top level."
        Sending jsf-ri\src\main\java\com\sun\faces\facelets\tag\jsf\core\ViewHandler.java
        Sending jsf-ri\src\main\java\com\sun\faces\facelets\tag\ui\CompositionHandler.java
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\webapp\wrong.xhtml
        Adding test\agnostic\vdl\facelets\contracts\viewroot\src\test\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot\Issue2671IT.java
        Transmitting file data ....
        Committed revision 11351.

        Show
        Manfred Riem added a comment - Applied to 2.2 trunk, svn commit -m "Fixes http://java.net/jira/browse/JAVASERVERFACES-2671 , r=rogerk, make sure we ignore a f:view contracts attributes not on the top level." Sending jsf-ri\src\main\java\com\sun\faces\facelets\tag\jsf\core\ViewHandler.java Sending jsf-ri\src\main\java\com\sun\faces\facelets\tag\ui\CompositionHandler.java Adding test\agnostic\vdl\facelets\contracts\viewroot\src\main\webapp\wrong.xhtml Adding test\agnostic\vdl\facelets\contracts\viewroot\src\test\java\com\sun\faces\test\agnostic\vdl\facelets\contracts\viewroot\Issue2671IT.java Transmitting file data .... Committed revision 11351.

          People

          • Assignee:
            Manfred Riem
            Reporter:
            Ed Burns
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: