📄 configuration.apt
字号:
| paging.banner.placement | top | top, bottom, both | When the table tag has to show the header for paging through | yes | yes |
| | | | a long list, this option indicates where that header should be | | |
| | | | shown in relation to the table | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.item_name | item | any string | What the various objects in the list being displayed should be | yes | yes |
| | | | referred to as (singular) | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.items_name | items | any string | What the various objects in the list being displayed should be | yes | yes |
| | | | referred to as (plural) | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.no_items_found | \<span class="pagebanner"\> | any string | What is shown in the pagination header when no objects are | yes | yes |
| | No \{0\} found. | | available in the list to be displayed. The single placeholder | | |
| | \</span\> | | is replaced with the name of the items in the list (plural) | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.one_item_found | \<span class="pagebanner"\> | any string | What is shown in the pagination header when one object is | yes | yes |
| | One \{0\} found. | | available in the list to be displayed. The single placeholder | | |
| | \</span\> | | is replaced with the name of the items in the list (singular) | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.all_items_found | \<span class="pagebanner"\> | any string | What is shown in the pagination header when all the objects in | yes | yes |
| | \{0\} \{1\} found, | | the list are being shown. \{0\} and \{2\} are replaced with the| | |
| | displaying all \{2\}. | | number of objects in the list, \{1\} is replaced with the name | | |
| | \</span\> | | of the items {plural} | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.some_items_found | \<span class="pagebanner"\> | any string | What is shown in the pagination header when a partial list of | yes | yes |
| | \{0\} \{1\} found, | | the objects in the list are being shown. | | |
| | displaying \{2\} to \{3\}. | | Parameters: | | |
| | \</span\> | | * \{0\}: total number of objects in the list | | |
| | | | * \{1\}: name of the items (plural) | | |
| | | | * \{2\}: start index of the objects being shown | | |
| | | | * \{3\}: end index of the objects being shown | | |
| | | | * \{4\}: current page | | |
| | | | * \{5\}: total number of pages | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.group_size | 8 | any number | The number of pages to show in the header that this person can | yes | yes |
| | | | instantly jump to | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.full | \<span class="pagelinks"\> | any string | What is shown in the pagination bar when there are more pages | yes | yes |
| | [\<a href="\{1\}"\>First\</a\> | | and the selected page is not the first or the last one. | | |
| | /\<a href="\{2\}"\>Prev\</a\>] | | Parameters: | | |
| | \{0\} | | * \{0\}: numbered pages list | | |
| | [\<a href="\{3\}"\>Next\</a\> | | * \{1\}: link to the first page | | |
| | /\<a href="\{4\}">Last\</a\>] | | * \{2\}: link to the previous page | | |
| | \</span\> | | * \{3\}: link to the next page | | |
| | | | * \{4\}: link to the last page | | |
| | | | * \{5\}: current page | | |
| | | | * \{6\}: total number of pages | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.first | \<span class="pagelinks"\> | any string | What is shown in the pagination bar when the first page is | yes | yes |
| | [First/Prev] \{0\} | | being shown. Placeholders are the same as for | | |
| | [\<a href="\{3\}">Next\</a\> | | <<<paging.banner.full>>> | | |
| | /\<a href="\{4\}">Last\</a\>] | | | | |
| | \</span\> | | | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.last | \<span class="pagelinks"\> | any string | What is shown in the pagination bar when the last page is | yes | yes |
| | [\<a href="\{1\}"\>First\</a\> | | being shown. Placeholders are the same as for | | |
| | /\<a href="\{2\}"\>Prev\</a\>] | | <<<paging.banner.full>>> | | |
| | \{0\} [Next/Last] | | | | |
| | \</span\> | | | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.onepage | \<span class="pagelinks"\> | any string | What is shown in the pagination bar when only one page is | yes | yes |
| | \{0\}\</span\> | | being shown. Placeholders are the same as for | | |
| | \</span\> | | <<<paging.banner.full>>> | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.page.selected | \<strong\>\{0\}\</strong\> | any string | Selected page. \{0\} is replaced with the page number, \{1\} | yes | yes |
| | | | with the page url. | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.page.link | \<a href="\{1\}" title="Go to | any string | Link to a page. \{0\} is replaced with the page number, \{1\} | yes | yes |
| | page \{0\}"\>\{0\}\</a\> | | with the page url. | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| paging.banner.page.separator | , | any string | separator between pages | yes | yes |
| | | | | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| factory.requestHelper | <<<org.displaytag.util.DefaultRequestHelperFactory>>> | | RequestHelperFactory to be used. | yes | no |
| | | Class name for a valid | You can replace the default one if you need to generate links | | |
| | | <<<RequestHelperFactory>>> | with a different format (for example in portal applications) | | |
| | | implementation | | | |
*------------------------------------+--------------------------------+-----------------------------+----------------------------------------------------------------+------+------+
| factory.decorator | <<<org.displaytag.decorator.DefaultDecoratorFactory>>> | DecoratorFactory to be used. | yes | no |
| | | Class name for a valid | You can replace the default one in order to load decorator | | |
| | | <<<DecoratorFactory>>> | instances from different sources (e.g. you could use Spring | | |
| | | implementation | managed beans) | | |
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -