<?xml version="1.0" encoding="windows-1252" ?> | |
<test xmlns="http://myfaces.apache.org/trinidad/test" | |
xmlns:tr="http://myfaces.apache.org/trinidad"> | |
<base-component tr:type="org.apache.myfaces.trinidad.CoreTable" value="#{simpleList}" var="row" rows="5"> | |
<component id="test-id" tr:type="org.apache.myfaces.trinidad.CoreColumn" sortable="true" sortProperty="string"> | |
<attribute-test name="rowHeader" value="true"/> | |
<attribute-test name="width" value="30%"/> | |
<component tr:facet="header" tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="StringHeader"/> | |
<component tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="#{row.string}"/> | |
</component> | |
<component id="separate-id" tr:type="org.apache.myfaces.trinidad.CoreColumn" sortable="true" sortProperty="int"> | |
<attribute-test name="separateRows" value="true"/> | |
<attribute-test name="separateRows" value="false" matchesBase="true"/> | |
<attribute-test name="styleClass"/> | |
<attribute-test name="inlineStyle"/> | |
<component tr:facet="header" tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="IntHeader"/> | |
<component tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="#{row.int}"/> | |
<component tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="Introduced for separateRows attribute check"/> | |
</component> | |
<component tr:facet="detailStamp" tr:type="org.apache.myfaces.trinidad.CorePanelGroupLayout" layout="vertical"> | |
<component tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="testStamp One"/> | |
<component tr:type="org.apache.myfaces.trinidad.CoreOutputText" value="testStamp Two"/> | |
</component> | |
</base-component> | |
<boolean-test name="allDetailsEnabled" default="false"/> | |
<attribute-test name="disclosedRowKeys" value="#{disclosureState}"/> | |
<attribute-test name="rowBandingInterval" value="1"/> | |
<attribute-test name="columnBandingInterval" value="1"/> | |
<attribute-test name="columnBandingInterval" value="0" matchesBase="true"/> | |
<attribute-test name="horizontalGridVisible" value="false"/> | |
<attribute-test name="verticalGridVisible" value="false"/> | |
<attribute-test name="verticalGridVisible" value="false"> | |
<attribute-test name="horizontalGridVisible" value="false"/> | |
</attribute-test> | |
<attribute-test name="summary" value="testTableSummary" accessibilityModeNotSupported="INACCESSIBLE"/> | |
<attribute-test name="width" value="70%"/> | |
<!-- tableSortCriteria is a custom attribute. This is not renderer or component attribute. | |
The render kit framework handles this condition in the code. --> | |
<attribute-test name="tableSortCriteria" value="int true"/> | |
<attribute-test name="tableSortCriteria" value="string false"/> | |
</test> |