\n \n\nSee [https://jira.nuxeo.com/browse/NXP-6551][1] for details.\n\nWhen using earlier versions, you can also contribute your resources to the theme view fragments (if you'd like the scripts to be available on all pages), for instance by adding your resources to the \"nuxeo5 includes\" fragment used in the Nuxeo default theme:\n\n \n org.nuxeo.theme.nuxeo.default\n \n \n jquery.hotkeys.js\n \n \n \n \n scripts/jquery/jquery.hotkeys.js\n \n \n \n\nYou do not have to name the resource like the file, but keeping the extension \".js\" is important.\n\nIf you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.\n\nNote that we're currently making improvements to make theme resources management more modular (see [https://jira.nuxeo.com/browse/NXP-7520][2]), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).\n\nUpdate since 5.5 release: see documentation available at [http://doc.nuxeo.com/x/N4AO][3]\n\n\n [1]: https://jira.nuxeo.com/browse/NXP-6551\n [2]: https://jira.nuxeo.com/browse/NXP-7520\n [3]: http://doc.nuxeo.com/x/N4AO", "htmlContent" : "

Hi,

\n

You have several options, some of them are only available in recent versions of Nuxeo.

\n

If you'd like to do this just for a few pages, you can insert links in the xhtml template using a slot that was made available since 5.4.2:

\n
<ui:define name=\"header_scripts\">\n  <script type=\"text/javascript\" src=\"#{baseURL}scripts/jquery/jquery.hotkeys.js\"></script>\n</ui:define>\n
\n

See https://jira.nuxeo.com/browse/NXP-6551 for details.

\n

When using earlier versions, you can also contribute your resources to the theme view fragments (if you'd like the scripts to be available on all pages), for instance by adding your resources to the “nuxeo5 includes” fragment used in the Nuxeo default theme:

\n
<component name=\"org.nuxeo.theme.myCustomContrib\">\n  <require>org.nuxeo.theme.nuxeo.default</require>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"views\">\n    <view name=\"nuxeo5 includes\" template-engine=\"jsf-facelets\" merge=\"true\">\n      <resource>jquery.hotkeys.js</resource>\n    </view>\n  </extension>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"resources\">\n    <resource name=\"jquery.hotkeys.js\">\n      <path>scripts/jquery/jquery.hotkeys.js</path>\n    </resource>\n  </extension>\n</component>\n
\n

You do not have to name the resource like the file, but keeping the extension “.js” is important.

\n

If you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.

\n

Note that we're currently making improvements to make theme resources management more modular (see https://jira.nuxeo.com/browse/NXP-7520), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).

\n

Update since 5.5 release: see documentation available at http://doc.nuxeo.com/x/N4AO

" }, { "id" : "5de77669-3d49-43b6-9a53-041861196b61", "label" : "4", "active" : false, "author" : { "uid" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "name" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "email" : "atchertchian@nuxeo.com", "firstName" : "Anahide", "lastName" : "Tchertchian", "title" : "Member", "score" : 15379, "disabled" : false, "virtual" : false, "badgeCount" : null, "notifications" : { "email" : { "name" : "email", "address" : "atchertchian@nuxeo.com", "notifs" : [ "EditMyAnswer", "CommentMyAnswer", "NewQuestionComment", "EditMyQuestion", "AnswerMyQuestion", "WeeklyDigest", "VoteMyQuestion", "BadgeAwarded", "VoteMyAnswer", "TagMyQuestion", "CommentMyQuestion", "NewQuestion", "NewAnswerComment", "NewAnswer" ] }, "phone" : null }, "badges" : [ "editor", "guru", "sociable", "proud", "fairplay", "pundit", "enthusiast", "revival", "hope", "scholar", "commentator", "watched", "teacher", "wise", "striker" ], "loginCount" : 40, "lastLogin" : 1555510581944, "avatarUrl" : "//www.gravatar.com/avatar/f46a16b42f25aba3788337fc6b46b632?d=mm&s=%s" }, "created" : "2011-11-23T09:24:13.00Z", "createdAt" : "11/23/2011", "title" : null, "content" : "Hi,\n\nYou have several options, some of them are only available in recent versions of Nuxeo.\n\nIf you'd like to do this just for a few pages, you can insert links in the xhtml template using a slot that was made available since 5.4.2:\n\n \n \n \n\nSee [https://jira.nuxeo.com/browse/NXP-6551][1] for details.\n\nWhen using earlier versions, you can also contribute your resources to the theme view fragments (if you'd like the scripts to be available on all pages), for instance by adding your resources to the \"nuxeo5 includes\" fragment used in the Nuxeo default theme:\n\n \n org.nuxeo.theme.nuxeo.default\n \n \n jquery.hotkeys.js\n \n \n \n \n scripts/jquery/jquery.hotkeys.js\n \n \n \n\nYou do not have to name the resource like the file, but keeping the extension \".js\" is important.\n\nIf you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.\n\nNote that we're currently making improvements to make theme resources management more modular (see [https://jira.nuxeo.com/browse/NXP-7520][2]), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).\n\n [1]: https://jira.nuxeo.com/browse/NXP-6551\n [2]: https://jira.nuxeo.com/browse/NXP-7520", "htmlContent" : "

Hi,

\n

You have several options, some of them are only available in recent versions of Nuxeo.

\n

If you'd like to do this just for a few pages, you can insert links in the xhtml template using a slot that was made available since 5.4.2:

\n
<ui:define name=\"header_scripts\">\n  <script type=\"text/javascript\" src=\"#{baseURL}scripts/jquery/jquery.hotkeys.js\"></script>\n</ui:define>\n
\n

See https://jira.nuxeo.com/browse/NXP-6551 for details.

\n

When using earlier versions, you can also contribute your resources to the theme view fragments (if you'd like the scripts to be available on all pages), for instance by adding your resources to the “nuxeo5 includes” fragment used in the Nuxeo default theme:

\n
<component name=\"org.nuxeo.theme.myCustomContrib\">\n  <require>org.nuxeo.theme.nuxeo.default</require>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"views\">\n    <view name=\"nuxeo5 includes\" template-engine=\"jsf-facelets\" merge=\"true\">\n      <resource>jquery.hotkeys.js</resource>\n    </view>\n  </extension>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"resources\">\n    <resource name=\"jquery.hotkeys.js\">\n      <path>scripts/jquery/jquery.hotkeys.js</path>\n    </resource>\n  </extension>\n</component>\n
\n

You do not have to name the resource like the file, but keeping the extension “.js” is important.

\n

If you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.

\n

Note that we're currently making improvements to make theme resources management more modular (see https://jira.nuxeo.com/browse/NXP-7520), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).

" }, { "id" : "8ccbc572-2f85-4eb4-afd2-6026958487e3", "label" : "3", "active" : false, "author" : { "uid" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "name" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "email" : "atchertchian@nuxeo.com", "firstName" : "Anahide", "lastName" : "Tchertchian", "title" : "Member", "score" : 15379, "disabled" : false, "virtual" : false, "badgeCount" : null, "notifications" : { "email" : { "name" : "email", "address" : "atchertchian@nuxeo.com", "notifs" : [ "EditMyAnswer", "CommentMyAnswer", "NewQuestionComment", "EditMyQuestion", "AnswerMyQuestion", "WeeklyDigest", "VoteMyQuestion", "BadgeAwarded", "VoteMyAnswer", "TagMyQuestion", "CommentMyQuestion", "NewQuestion", "NewAnswerComment", "NewAnswer" ] }, "phone" : null }, "badges" : [ "editor", "guru", "sociable", "proud", "fairplay", "pundit", "enthusiast", "revival", "hope", "scholar", "commentator", "watched", "teacher", "wise", "striker" ], "loginCount" : 40, "lastLogin" : 1555510581944, "avatarUrl" : "//www.gravatar.com/avatar/f46a16b42f25aba3788337fc6b46b632?d=mm&s=%s" }, "created" : "2011-10-31T11:13:55.00Z", "createdAt" : "10/31/2011", "title" : null, "content" : "Hi,\n\nIf you'd like to do this just for a few pages, you can insert links in the xhtml template using a slot that was made available since 5.4.2:\n\n \n \n \n\nSee [https://jira.nuxeo.com/browse/NXP-6551][1] for details.\n\nYou can also contribute your resources to the theme view fragments (if you'd like the scripts to be available on all pages), for instance by adding your resources to the \"nuxeo5 includes\" fragment used in the Nuxeo default theme:\n\n \n org.nuxeo.theme.nuxeo.default\n \n \n jquery.hotkeys.js\n \n \n \n \n scripts/jquery/jquery.hotkeys.js\n \n \n \n\nYou do not have to name the resource like the file, but keeping the extension \".js\" is important.\n\nIf you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.\n\nNote that we're currently making improvements to make theme resources management more modular (see [https://jira.nuxeo.com/browse/NXP-7520][2]), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).\n\n [1]: https://jira.nuxeo.com/browse/NXP-6551\n [2]: https://jira.nuxeo.com/browse/NXP-7520", "htmlContent" : "

Hi,

\n

If you'd like to do this just for a few pages, you can insert links in the xhtml template using a slot that was made available since 5.4.2:

\n
<ui:define name=\"header_scripts\">\n  <script type=\"text/javascript\" src=\"#{baseURL}scripts/jquery/jquery.hotkeys.js\"></script>\n</ui:define>\n
\n

See https://jira.nuxeo.com/browse/NXP-6551 for details.

\n

You can also contribute your resources to the theme view fragments (if you'd like the scripts to be available on all pages), for instance by adding your resources to the “nuxeo5 includes” fragment used in the Nuxeo default theme:

\n
<component name=\"org.nuxeo.theme.myCustomContrib\">\n  <require>org.nuxeo.theme.nuxeo.default</require>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"views\">\n    <view name=\"nuxeo5 includes\" template-engine=\"jsf-facelets\" merge=\"true\">\n      <resource>jquery.hotkeys.js</resource>\n    </view>\n  </extension>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"resources\">\n    <resource name=\"jquery.hotkeys.js\">\n      <path>scripts/jquery/jquery.hotkeys.js</path>\n    </resource>\n  </extension>\n</component>\n
\n

You do not have to name the resource like the file, but keeping the extension “.js” is important.

\n

If you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.

\n

Note that we're currently making improvements to make theme resources management more modular (see https://jira.nuxeo.com/browse/NXP-7520), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).

" }, { "id" : "ee85a1e3-9b9e-47b9-9b46-e06189abf810", "label" : "2", "active" : false, "author" : { "uid" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "name" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "email" : "atchertchian@nuxeo.com", "firstName" : "Anahide", "lastName" : "Tchertchian", "title" : "Member", "score" : 15379, "disabled" : false, "virtual" : false, "badgeCount" : null, "notifications" : { "email" : { "name" : "email", "address" : "atchertchian@nuxeo.com", "notifs" : [ "EditMyAnswer", "CommentMyAnswer", "NewQuestionComment", "EditMyQuestion", "AnswerMyQuestion", "WeeklyDigest", "VoteMyQuestion", "BadgeAwarded", "VoteMyAnswer", "TagMyQuestion", "CommentMyQuestion", "NewQuestion", "NewAnswerComment", "NewAnswer" ] }, "phone" : null }, "badges" : [ "editor", "guru", "sociable", "proud", "fairplay", "pundit", "enthusiast", "revival", "hope", "scholar", "commentator", "watched", "teacher", "wise", "striker" ], "loginCount" : 40, "lastLogin" : 1555510581944, "avatarUrl" : "//www.gravatar.com/avatar/f46a16b42f25aba3788337fc6b46b632?d=mm&s=%s" }, "created" : "2011-10-31T11:05:16.00Z", "createdAt" : "10/31/2011", "title" : null, "content" : "Hi,\n\nIf you'd like to do this just for a few pages, you can insert links using slots that where made available since 5.4.2 inside the theme markup:\n\n \n \n \n\nSee [https://jira.nuxeo.com/browse/NXP-6551][1] for details.\n\nYou can also contribute your resources to view theme fragment (if you'd like the scripts to be available on all pages), for instance by adding your resources to the \"nuxeo5 includes\" fragment used in the Nuxeo default theme:\n\n \n org.nuxeo.theme.nuxeo.default\n \n \n jquery.hotkeys.js\n \n \n \n \n scripts/jquery/jquery.hotkeys.js\n \n \n \n\nYou do not have to name the resource like the file, but keeping the extension \".js\" is important.\n\nIf you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.\n\nNote also that we're currently making improvements to make theme resources management more modular (see [https://jira.nuxeo.com/browse/NXP-7520][2]), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).\n\n [1]: https://jira.nuxeo.com/browse/NXP-6551\n [2]: https://jira.nuxeo.com/browse/NXP-7520", "htmlContent" : "

Hi,

\n

If you'd like to do this just for a few pages, you can insert links using slots that where made available since 5.4.2 inside the theme markup:

\n
<ui:define name=\"header_scripts\">\n  <script type=\"text/javascript\" src=\"#{baseURL}scripts/jquery/jquery.hotkeys.js\"></script>\n</ui:define>\n
\n

See https://jira.nuxeo.com/browse/NXP-6551 for details.

\n

You can also contribute your resources to view theme fragment (if you'd like the scripts to be available on all pages), for instance by adding your resources to the “nuxeo5 includes” fragment used in the Nuxeo default theme:

\n
<component name=\"org.nuxeo.theme.myCustomContrib\">\n  <require>org.nuxeo.theme.nuxeo.default</require>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"views\">\n    <view name=\"nuxeo5 includes\" template-engine=\"jsf-facelets\" merge=\"true\">\n      <resource>jquery.hotkeys.js</resource>\n    </view>\n  </extension>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"resources\">\n    <resource name=\"jquery.hotkeys.js\">\n      <path>scripts/jquery/jquery.hotkeys.js</path>\n    </resource>\n  </extension>\n</component>\n
\n

You do not have to name the resource like the file, but keeping the extension “.js” is important.

\n

If you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.

\n

Note also that we're currently making improvements to make theme resources management more modular (see https://jira.nuxeo.com/browse/NXP-7520), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).

" }, { "id" : "de389728-84bb-41d7-b324-8682b4dd7f81", "label" : "1", "active" : false, "author" : { "uid" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "name" : "0afa6370-b8e0-4810-a013-41c7043d2aea", "email" : "atchertchian@nuxeo.com", "firstName" : "Anahide", "lastName" : "Tchertchian", "title" : "Member", "score" : 15379, "disabled" : false, "virtual" : false, "badgeCount" : null, "notifications" : { "email" : { "name" : "email", "address" : "atchertchian@nuxeo.com", "notifs" : [ "EditMyAnswer", "CommentMyAnswer", "NewQuestionComment", "EditMyQuestion", "AnswerMyQuestion", "WeeklyDigest", "VoteMyQuestion", "BadgeAwarded", "VoteMyAnswer", "TagMyQuestion", "CommentMyQuestion", "NewQuestion", "NewAnswerComment", "NewAnswer" ] }, "phone" : null }, "badges" : [ "editor", "guru", "sociable", "proud", "fairplay", "pundit", "enthusiast", "revival", "hope", "scholar", "commentator", "watched", "teacher", "wise", "striker" ], "loginCount" : 40, "lastLogin" : 1555510581944, "avatarUrl" : "//www.gravatar.com/avatar/f46a16b42f25aba3788337fc6b46b632?d=mm&s=%s" }, "created" : "2011-10-31T11:01:48.00Z", "createdAt" : "10/31/2011", "title" : null, "content" : "Hi,\n\nIf you'd like to do this just for a few pages, you can insert links using slots that where made available since 5.4.2 inside the theme markup:\n\n \n \n \n \n\nSee [https://jira.nuxeo.com/browse/NXP-6551][1] for details.\n\nYou can also contribute your resources to view theme fragment (if you'd like the scripts to be available on all pages), for instance by adding your resources to the \"nuxeo5 includes\" fragment used in the Nuxeo default theme:\n\n \n org.nuxeo.theme.nuxeo.default\n \n \n jquery.hotkeys.js\n \n \n \n \n scripts/jquery/jquery.hotkeys.js\n \n \n \n\nYou do not have to name the resource like the file, but keeping the extension \".js\" is important.\n\nIf you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.\n\nNote also that we're currently making improvements to make theme resources management more modular (see [https://jira.nuxeo.com/browse/NXP-7520][2]), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).\n\n [1]: https://jira.nuxeo.com/browse/NXP-6551\n [2]: https://jira.nuxeo.com/browse/NXP-7520", "htmlContent" : "

Hi,

\n

If you'd like to do this just for a few pages, you can insert links using slots that where made available since 5.4.2 inside the theme markup:

\n
<ui:define name=\"header_scripts\">\n  <script type=\"text/javascript\" src=\"#{baseURL}layoutDemo/scripts/layoutDemo.js\"></script>\n  <script type=\"text/javascript\" src=\"#{baseURL}layoutDemo/scripts/prettify.js\"></script>\n</ui:define>\n
\n

See https://jira.nuxeo.com/browse/NXP-6551 for details.

\n

You can also contribute your resources to view theme fragment (if you'd like the scripts to be available on all pages), for instance by adding your resources to the “nuxeo5 includes” fragment used in the Nuxeo default theme:

\n
<component name=\"org.nuxeo.theme.myCustomContrib\">\n  <require>org.nuxeo.theme.nuxeo.default</require>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"views\">\n    <view name=\"nuxeo5 includes\" template-engine=\"jsf-facelets\" merge=\"true\">\n      <resource>jquery.hotkeys.js</resource>\n    </view>\n  </extension>\n  <extension target=\"org.nuxeo.theme.services.ThemeService\" point=\"resources\">\n    <resource name=\"jquery.hotkeys.js\">\n      <path>scripts/jquery/jquery.hotkeys.js</path>\n    </resource>\n  </extension>\n</component>\n
\n

You do not have to name the resource like the file, but keeping the extension “.js” is important.

\n

If you only have some custom JS functions to add to all pages, you can also override the file at nuxeo.war/scripts/custom-javascript.js that is an empty placeholder in the default application.

\n

Note also that we're currently making improvements to make theme resources management more modular (see https://jira.nuxeo.com/browse/NXP-7520), so we'll probably advertise new ways of doing so from the 5.5. version (but options i gave above will be kept for compatibility).

" } ] }; Versioning.getActiveVersion = function() { var versions = this.versions; for (var i=0,len=versions.length;i

Select a revision to compare with:
Side by side diff