Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES-2671
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Manfred Riem
Reporter: Ed Burns
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaserverfaces
JAVASERVERFACES-2511

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

Created: 07/Jan/13 02:37 PM   Updated: 09/Jan/13 05:22 PM   Resolved: 09/Jan/13 05:22 PM
Component/s: facelets
Affects Version/s: None
Fix Version/s: 2.2.0-m09

Time Tracking:
Not Specified

Tags:
Participants: Ed Burns and Manfred Riem


 Description  « Hide

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.



Manfred Riem added a comment - 09/Jan/13 05:22 PM

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.