Changes for page Văn bản đến

Last modified by Hai NT on 2026/11/23 02:24

From version 10.1
edited by chatgpt
on 2026/11/22 09:28
Change comment: There is no comment for this version
To version 1.1
edited by Hai NT
on 2026/11/20 08:44
Change comment: Update LiveTable

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.chatgpt
1 +XWiki.haint
Content
... ... @@ -1,12 +1,10 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 - 'soKyHieu': {"displayName":"Số, Ký hiệu","link":"view"},
4 - 'trichYeu': {"displayName":"Trích yếu văn bản đến","link":"view"},
5 - 'ngayVanBan': {"displayName":"Ngày BH","html":true},
6 - 'coQuanBanHanh': {"displayName":"CQ ban hành"},
7 - 'lanhDao': {"displayName":"Lãnh đạo"},
8 - 'hanXuLy': {"displayName":"Thời hạn","html":true},
9 - 'trangThaiNguon': {"displayName":"Trạng thái"}
3 + 'doc.title': {"link":"view"},
4 + 'doc.location': {"html":true},
5 + 'doc.date': {},
6 + 'doc.author': {"link":"author"},
7 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
10 10  })
11 11  #set ($options = {
12 12   'className': 'VanBanDen.Code.VanBanDenClass',
... ... @@ -14,9 +14,9 @@
14 14   'tagCloud': true,
15 15   'rowCount': 15,
16 16   'maxPages': 10,
17 - 'selectedColumn': 'ngayVanBan',
18 - 'defaultOrder': 'desc'
15 + 'selectedColumn': 'doc.title',
16 + 'defaultOrder': 'asc'
19 19  })
20 -#set ($columns = ['soKyHieu', 'trichYeu', 'ngayVanBan', 'coQuanBanHanh', 'lanhDao', 'hanXuLy', 'trangThaiNguon'])
18 +#set ($columns = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions'])
21 21  #livetable('vanbanden' $columns $columnsProperties $options)
22 22  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -doc.title maHoSo soDen ngayDen soKyHieu trichYeu coQuanGui donViXuLy hanXuLy trangThai _actions
1 +doc.title doc.location doc.date doc.author _actions
XWiki.UIExtensionClass[0]
Extension ID
... ... @@ -1,1 +1,0 @@
1 -platform.panels.VanBanDenApplication
Extension Parameters
... ... @@ -1,3 +1,0 @@
1 -label=VanBanDen
2 -target=VanBanDen.WebHome
3 -icon=icon:application_view_list