Chapter 16. Tag Attributes
Chapter 16. Tag Attributes
16.1. TableTag
Table 16.1.
Name | Description |
---|---|
action | The URI that will be called when the filter, sort and pagination is used. |
autoIncludeParameters | Specify whether or not to automatically include the parameters, as hidden inputs, passed into the JSP. |
border | The table border attribute. The default is 0. |
cellpadding | The table cellpadding attribute. The default is 0. |
cellspacing | The table cellspacing attribute. The default is 0. |
filterable | Specify whether or not the table is filterable. Boolean value with the default being true. |
filterRowsCallback | A fully qualified class name to a custom FilterRowsCallback implementation. Could also be a named type in the preferences. Used to filter the Collection of Beans or Collection of Maps. |
form | The reference to a surrounding form element. |
imagePath | The path to find the images. For example imagePath=/extremesite/images/*.png is saying look in the image directory for the .png images. |
intercept | A fully qualified class name to a custom InterceptTable implementation. Could also be a named type in the preferences. Used to add table attributes. |
items | Reference the collection that will be retrieved. |
locale | The locale for this table. For example fr_FR is used for the French translation. |
method | Used to invoke the table action using a POST or GET. |
onsubmit | The javascript onsubmit action for the table. |
retrieveRowsCallback | A fully qualified class name to a custom RetrieveRowsCallback implementation. Could also be a named type in the preferences. Used to retrieve the Collection of Beans or Collection of Maps. |
rowsDisplayed | The number of rows to display in the table. |
scope | The scope (page, request, session, or application) to find the Collection of beans or Collection of Maps defined by the collection attribute. |
showPagination | Specify whether or not the table should use pagination. Boolean value with the default being true. |
showExports | Specify whether or not the table should use the exports. Boolean value with the default being true. |
showStatusBar | Specify whether or not the table should use the status bar. Boolean value with the default being true. |
showTooltips | Specify whether or not to show the tooltips. Boolean value with the default being true. |
sortRowsCallback | A fully qualified class name to a custom SortRowsCallback implementation. Could also be a named type in the preferences. Used to sort the Collection of Beans or Collection of Maps. |
sortable | Specify whether or not the table is sortable. Boolean value with the default being true. |
state | The table state to use when returning to a table. Acceptable values are default, notifyToDefault, persist, notifyToPersist. |
stateAttr | The table attribute used to invoke the state change of the table. |
style | The css inline style sheet. |
styleClass | The css class style sheet. |
tableId | The unique identifier for the table. |
theme | The theme to style the table. The default is eXtremeTable. |
title | The title of the table. The title will display above the table. |
var | The name of the variable to hold the current row bean. |
view | Generates the output. The default is the HtmlView to generate the HTML. Also used by the exports to generate XLS-FO, POI, and CSV. |
width | Width of the table. |
16.2. RowTag
Table 16.2.
Name | Description |
---|---|
highlightClass | The css class style sheet when highlighting rows. |
highlightRow | Used to turn the highlight feature on and off. Acceptable values are true or false. The default is false. |
intercept | A fully qualified class name to a custom InterceptRow implementation. Could also be a named type in the preferences. Used to add or modify row attributes. |
onclick | The javascript onclick action |
onmouseout | The javascript onmouseout action |
onmouseover | The javascript onmouseover action |
style | The css inline style sheet. |
styleClass | The css class style sheet. |
16.3. ColumnTag
Table 16.3.
Name | Description |
---|---|
alias | Used to uniquely identify the column when the same property is used for more than one column. |
calc | A fully qualified class name to a custom Calc implementation. Could also be a named type in the preferences. Used to do math on a column. |
calcTitle | The title of the calc. |
cell | Display for the column. The valid values are display, currency, rowCount, and date. The default value is display. The cell can also be a fully qualified class name to a custom Cell. Be sure to implement the Cell interface or extend AbstractCell if making a custom cell. |
escapeAutoFormat | Specify whether auto format of value will be skipped. False by default, and is only effective if autoformatting is implement in the view. |
filterable | Specify whether or not the column should be filterable. Acceptable values are true or false. The default is to use the value for the table filterable attribute. |
filterCell | Displays the filter column. The valid values are filter and droplist. The default is filter. The cell can also be a fully qualified class name to a custom cell. |
filterClass | The css class style sheet used to define what the table filter column looks like. |
filterStyle | The css class style sheet to use for the filter column. |
format | The format to use for the cell. For instance if used with a date cell then the format can be MM/dd/yyyy. |
headerCell | Display for the header column. The default is header. The cell can also be a fully qualified class name to a custom cell. |
headerClass | The css class style sheet used to define what the table header column looks like. |
headerStyle | The css class style sheet to use for the header column. |
intercept | A fully qualified class name to a custom InterceptColumn implementation. Could also be a named type in the preferences. Used to add or modify column attributes. |
parse | Used if the format needs to be interpreted. For instance, a date needs to be parsed in the specific format, such as MM-dd-yyyy. |
property | The bean attribute to use for the column. |
sortable | Specify whether or not the column should be sortable. The acceptable values are true or false. The default is to use the value for the table sortable attribute. |
style | The css inline style sheet. |
styleClass | The css class style sheet. |
title | The display for the table column header. If the title is not specified then it will default to the name of the property, changing the camelcase syntax to separate words. |
value | The value for the column. If the value attribute is not specifed then it will be retrieved automatically using the property attribute. The value can also be defined within the column body. |
viewsAllowed | The comma separated list of views that this column will be used in. |
viewsDenied | The comma separated list of views that this column will not be used in. |
width | Specify the column width. |
16.4. ExportTag
Table 16.4.
Name | Description |
---|---|
fileName | The name of the export file. |
imageName | The image name. |
intercept | A fully qualified class name to a custom InterceptExport implementation. Could also be a named type in the preferences. Used to add or modify export attributes. |
view | A fully qualified class name to a custom View implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
viewResolver | A fully qualified class name to a custom ViewResolver implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
text | The text for the export view. |
tooltip | The tooltip that shows up when you mouseover the export image. |
16.5. ExportXlsTag
Table 16.5.
Name | Description |
---|---|
fileName | The name of the export file. |
imageName | The image name. |
intercept | A fully qualified class name to a custom InterceptExport implementation. Could also be a named type in the preferences. Used to add or modify export attributes. |
view | A fully qualified class name to a custom View implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
viewResolver | A fully qualified class name to a custom ViewResolver implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
text | The text for the export view. |
tooltip | The tooltip that shows up when you mouseover the export image. |
16.6. ExportCsvTag
Table 16.6.
Name | Description |
---|---|
delimiter | What to use as the file delimiter. The default is a comma. |
fileName | The name of the export file. |
imageName | The image name. |
intercept | A fully qualified class name to a custom InterceptExport implementation. Could also be a named type in the preferences. Used to add or modify export attributes. |
view | A fully qualified class name to a custom View implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
viewResolver | A fully qualified class name to a custom ViewResolver implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
text | The text for the export view. |
tooltip | The tooltip that shows up when you mouseover the export image. |
16.7. ExportPdfTag
Table 16.7.
Name | Description |
---|---|
headerBackgroundColor | The background color on the header column. |
headerColor | The font color for the header column. |
headerTitle | The title displayed at the top of the page. |
fileName | The name of the export file. |
imageName | The image name. |
intercept | A fully qualified class name to a custom InterceptExport implementation. Could also be a named type in the preferences. Used to add or modify export attributes. |
view | A fully qualified class name to a custom View implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
viewResolver | A fully qualified class name to a custom ViewResolver implementation. Could also be a named type in the preferences. Default types are pdf, xls, or csv. |
text | The text for the export view. |
tooltip | The tooltip that shows up when you mouseover the export image. |
16.8. ColumnsTag
Table 16.8.
Name | Description |
---|---|
autoGenerateColumns | A fully qualified class name to a custom AutoGenerateColumns implementation. Could also be a named type in the preferences. Used to generate columns on the fly. |
16.9. ParameterTag
Table 16.9.
Name | Description |
---|---|
name | The name of the parameter. |
value | The value of the parameter. |
0