Changes for page Front-end Resources

Last modified by Lucas Charpentier (Sereza7) on 2024/03/12

<
From version < 34.1 >
edited by Ecaterina Moraru (Valica)
on 2019/02/14
To version < 35.1 >
edited by Marius Dumitru Florea
on 2019/06/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.evalica
1 +XWiki.mflorea
Content
... ... @@ -2,24 +2,18 @@
2 2  {{toc/}}
3 3  {{/box}}
4 4  
5 -This section aims to document all the front-end resources available in XWiki for application developers and for developers of the XWiki products. Front-end resources are of two main types:
5 +This section aims to document all the front-end resources available in XWiki for application developers and for developers of the XWiki products. Front-end resources are of two main types:
6 6  
7 7  * External Libraries
8 8  * Internal components (based or not on some of the external libraries)
9 9  
10 -Front-end resources are mainly composed of JavaScript libraries, CSS stylesheets and their corresponding HTML reusable snippets (or velocity macro to output this snippet) and velocity macros.
10 +Front-end resources are mainly composed of JavaScript libraries, CSS stylesheets and their corresponding HTML reusable snippets (or velocity macro to output this snippet) and velocity macros.
11 11  
12 -Some of the resources presented in here are not included by default with all HTML-rendered wiki pages (it would be too much to send to the client!). You have to request their inclusion from a skin template or from the wiki page itself using the ##jsfx## plugin. For example, to request the inclusion of scriptaculous slider library, you can write, in [[XWiki Syntax 1.0>>platform:Main.XWikiSyntax]]:
12 +Some of the resources presented in here are not included by default with all HTML-rendered wiki pages (it would be too much to send to the client!). You have to request their inclusion from a skin template or from the wiki page itself using the ##jsfx## plugin. For example, to request the inclusion of the date picker, you can write, in [[XWiki Syntax 2.1>>platform:Main.XWikiSyntax]]:
13 13  
14 14  {{code}}
15 -$xwiki.jsfx.use("js/scriptaculous/slider.js")
16 -{{/code}}
17 -
18 -In [[XWiki Syntax 2.0>>platform:Main.XWikiSyntax]]:
19 -
20 -{{code}}
21 21  {{velocity}}
22 -$xwiki.jsfx.use("js/scriptaculous/slider.js")
16 +$xwiki.jsfx.use('uicomponents/widgets/datepicker/dateTimePicker.js')
23 23  {{/velocity}}
24 24  {{/code}}
25 25  
... ... @@ -45,7 +45,7 @@
45 45  * [[Modal Popup>>platform:DevGuide.ModalPopup]]
46 46  * [[Confirmation Box>>platform:DevGuide.ConfirmationBox]]
47 47  * [[platform:DevGuide.LiveTable]]
48 -* [[Auto Suggest Widget>>platform:DevGuide.AutoSuggestWidget]]
42 +* [[Suggest Widget>>platform:DevGuide.AutoSuggestWidget]]
49 49  * [[Notification Widget>>platform:DevGuide.XWikiNotifications]]
50 50  * [[HTML5 Upload>>platform:DevGuide.HTML5Upload]]
51 51  * [[Autosave>>platform:DevGuide.Autosave]]
... ... @@ -61,8 +61,6 @@
61 61  
62 62  * [[Pagination>>platform:DevGuide.Pagination]]
63 63  * [[Result List>>platform:DevGuide.ListOfResults]]
64 -* [[Search Box>>platform:DevGuide.SearchBox]]
65 -* [[Suggest Box>>platform:DevGuide.SuggestBox]]
66 66  * [[Special CSS Classes>>platform:DevGuide.SpecialCSSClasses]]
67 67  * [[CSS classes used for icons>>platform:DevGuide.StandardIconClasses]]
68 68  * Forms Layout Type:

Get Connected