tld-fragments.table-fragment.xml Maven / Gradle / Ivy
<fragment> <tag> <description>Renders a table</description> <display-name>Table</display-name> <name>table</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>It indicates whether the table should be striped rows. Default : false</description> <name>stripe</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <attribute> <description>It indicates whether the table should be dark theme. Default : false</description> <name>dark</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <attribute> <description>It indicates whether the table should be hovered rows. Default : false</description> <name>hover</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <attribute> <description>It indicates whether the table should be small size. Default : false</description> <name>small</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <attribute> <description>It indicates whether the table should be bordered. Default : false</description> <name>border</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> <tag> <description>Renders a line of a table</description> <display-name>Table</display-name> <name>tableRow</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableLineTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>It indicates whether the component should be rendered. Default : true</description> <name>rendered</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <attribute> <description>Indicates the table line state. Default: default. Options: success, danger, info, default, primary</description> <name>state</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> <tag> <description>Renders a table column</description> <display-name>Table</display-name> <name>tableData</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableColumnTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>Indicates the column state. Default: default. Options: success, danger, info, default, primary</description> <name>state</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates a label for column content</description> <name>label</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates a label (i18n) for column content</description> <name>labelKey</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>Indicates the number of columns that this column should fill</description> <name>colspan</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Integer</type> </attribute> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> <tag> <description>Renders a table caption</description> <display-name>Table</display-name> <name>tableCaption</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableCaptionTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>It indicates a label for column content</description> <name>label</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> <tag> <description>Renders a table body</description> <display-name>Table</display-name> <name>tableBody</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableBodyTag</tag-class> <body-content>scriptless</body-content> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> <tag> <description>Renders table head</description> <display-name>Table</display-name> <name>tableHeader</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableHeaderTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>It indicates whether the table header should be dark theme. Default : false</description> <name>dark</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <attribute> <description>It indicates whether the table header should be light theme. Default : false</description> <name>light</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> <tag> <description>Renders table head</description> <display-name>Table</display-name> <name>tableFooter</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableFooterTag</tag-class> <body-content>scriptless</body-content> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> <tag> <description>Renders a th</description> <display-name>Table</display-name> <name>tableHead</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.table.TableHeadTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>It indicates a label for column head content</description> <name>label</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates a label (i18n) for column head content</description> <name>labelKey</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <example> <html:table dark="true" hover="true" stripe="true"> <html:tableCaption> Caption </html:tableCaption> <html:tableHeader light="true"> <html:tableRow> <html:tableHead>Head 1</html:tableHead> </html:tableRow> </html:tableHeader> <html:tableBody> <html:tableRow> <html:tableData>Column 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Value 1</html:tableData> </html:tableRow> </html:tableBody> <html:tableFooter> <html:tableRow> <html:tableData>Foot 1</html:tableData> </html:tableRow> <html:tableRow state="danger"> <html:tableData>Foot value 1</html:tableData> </html:tableRow> </html:tableFooter> </html:table> </example> </tag> </fragment>