You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by sk...@apache.org on 2015/06/26 11:39:56 UTC
svn commit: r1687731 [9/15] - in /archiva/site-content: ./ css/ developers/
errors/ fonts/ js/ jsui/
Modified: archiva/site-content/jsui/generics-js.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/generics-js.html?rev=1687731&r1=1687730&r2=1687731&view=diff
==============================================================================
--- archiva/site-content/jsui/generics-js.html (original)
+++ archiva/site-content/jsui/generics-js.html Fri Jun 26 09:39:55 2015
@@ -1,322 +1,369 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia
- | Rendered using Apache Maven Fluido Skin 1.4
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="author" content="Olivier Lamy" />
- <meta name="Date-Revision-yyyymmdd" content="20150625" />
- <meta http-equiv="Content-Language" content="en" />
- <title>Archiva – Generics Javascript</title>
- <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" />
- <link rel="stylesheet" href="../css/site.css" />
- <link rel="stylesheet" href="../css/print.css" media="print" />
-
-
- <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script>
-
-
-
-<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
-
-
-<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
- pageTracker._initData();
- pageTracker._trackPageview();</script>
-
- </head>
- <body class="topBarEnabled">
-
-
-
-
-
- <div id="topbar" class="navbar navbar-fixed-top ">
- <div class="navbar-inner">
- <div class="container"><div class="nav-collapse">
-
-
- <ul class="nav">
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
- <li> <a href="../index.html" title="About">About</a>
-</li>
-
- <li> <a href="../download.html" title="Downloads">Downloads</a>
-</li>
-
- <li> <a href="../versions.html" title="Versions">Versions</a>
-</li>
-
- <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a>
-</li>
-
- <li> <a href="../security.html" title="Security">Security</a>
-</li>
-
- <li class="dropdown-submenu">
- <a href="../" title="Documentation">Documentation</a>
- <ul class="dropdown-menu">
- <li> <a href="../docs/2.2.0/" title="Release 2.2.0">Release 2.2.0</a>
-</li>
- <li> <a href="../docs/1.3.9/" title="Preview 1.3.9">Preview 1.3.9</a>
-</li>
- <li> <a href="../docs/2.2.1-SNAPSHOT/" title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
-</li>
- </ul>
- </li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
- <li> <a href="../developers/building.html" title="Build Apache Archiva">Build Apache Archiva</a>
-</li>
-
- <li> <a href="../get-involved.html" title="Get involved">Get involved</a>
-</li>
-
- <li> <a href="../developers/how-we-do-things.html" title="How we do things">How we do things</a>
-</li>
-
- <li> <a href="../redback" title="Redback">Redback</a>
-</li>
-
- <li> <a href="../redback/components" title="Redback Components">Redback Components</a>
-</li>
-
- <li class="dropdown-submenu">
- <a href="../jsui/index.html" title="Javascript application Architecture">Javascript application Architecture</a>
- <ul class="dropdown-menu">
- <li> <a href="../jsui/rest.html" title="Rest service">Rest service</a>
-</li>
- <li> <a href="../jsui/template-loading.html" title="JS Template loading">JS Template loading</a>
-</li>
- <li> <a href="../jsui/i18n.html" title="i18n">i18n</a>
-</li>
- <li> <a href="../jsui/knockout-binding.html" title="Knockout Binding">Knockout Binding</a>
-</li>
- <li> <a href="../jsui/generics-js.html" title="Generic Javascipts">Generic Javascipts</a>
-</li>
- </ul>
- </li>
-
- <li> <a href="../developers/releasing.html" title="Releasing">Releasing</a>
-</li>
-
- <li> <a href="../developers/publishing-site.html" title="Site Publish">Site Publish</a>
-</li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
- <li> <a href="http://www.apache.org/foundation/how-it-works.html" title="How Apache Works">How Apache Works</a>
-</li>
-
- <li> <a href="http://www.apache.org/foundation/" title="Foundation">Foundation</a>
-</li>
-
- <li> <a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsoring Apache">Sponsoring Apache</a>
-</li>
-
- <li> <a href="http://www.apache.org/foundation/thanks.html" title="Thanks">Thanks</a>
-</li>
- </ul>
- </li>
- </ul>
-
- <form id="search-form" action="https://www.google.com/search" method="get" class="navbar-search pull-right" >
-
- <input value="http://archiva.apache.org/" name="sitesearch" type="hidden"/>
- <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script>
-
-
-
- </div>
-
- </div>
- </div>
- </div>
-
- <div class="container">
- <div id="banner">
- <div class="pull-left">
- <div id="bannerLeft">
- <h2>Archiva</h2>
- </div>
- </div>
- <div class="pull-right"> </div>
- <div class="clear"><hr/></div>
- </div>
-
- <div id="breadcrumbs">
- <ul class="breadcrumb">
-
-
- <li id="publishDate">Last Published: 2015-06-25
- <span class="divider">|</span>
- </li>
- <li id="projectVersion">Version: 1-SNAPSHOT
- </li>
-
-
-
-
- </ul>
- </div>
-
-
-
- <div id="bodyColumn" >
-
- <!-- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License. -->
-
-
- <script src="../js/jquery.fancybox.pack.2.1.5.js" type="text/javascript"></script>
- <script src="../js/jquery.mousewheel-3.0.6.pack.js" type="text/javascript"></script>
- <link rel="stylesheet" href="../css/jquery.fancybox.2.1.5.css" type="text/css" media="screen" />
- <script type="text/javascript" src="../js/fancy-box-activation.js"></script>
-
-
-<ul>
-<li><a href="#Generics_Javascript">Generics Javascript</a>
-<ul>
-<li><a href="#User_messages">User messages</a></li>
-<li><a href="#Success_message">Success message</a></li>
-<li><a href="#Error_message">Error message</a></li>
-<li><a href="#Modal_Confirm_dialog">Modal Confirm dialog</a></li></ul></li></ul>
-
-
-<div class="section">
-<h2><a name="Generics_Javascript"></a>Generics Javascript</h2>
-
-<p>Some common/generic javascript methods are available.</p>
-
-<div class="section">
-<h3><a name="User_messages"></a>User messages</h3>
-
-<p>A div "user-messages" is reserved for user messages.</p>
- </div>
-<div class="section">
-<h3><a name="Success_message"></a>Success message</h3>
-
-<p>
- Javascript function:
- </p>
-<div class="source"><pre class="prettyprint">
-displaySuccessMessage($.i18n.prop('managedrepository.added'));
-// the second parameter is optionnal by default #user-messages id is used
-displaySuccessMessage=function(text,idToAppend){
- </pre></div>
- <a href="../images/success-message.png" class="single_image" title="Success Message">
- <img src="../images/success-message.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
- Success Message
- </a>
-
- </div>
-
-
-<div class="section">
-<h3><a name="Error_message"></a>Error message</h3>
-
-<p>
- Javascript function:
- </p>
-<div class="source"><pre class="prettyprint">
-displayErrorMessage($.i18n.prop('managedrepository.added'));
-// the second parameter is optionnal by default #user-messages id is used
-displayErrorMessage=function(text,idToAppend){
- </pre></div>
- <a href="../images/error-message.png" class="single_image" title="Error Message">
- <img src="../images/error-message.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
- Error Message
- </a>
-
- </div>
-
-
-<div class="section">
-<h3><a name="Modal_Confirm_dialog"></a>Modal Confirm dialog</h3>
-
-<p>
- Javascript function:
- </p>
-<div class="source"><pre class="prettyprint">
- /**
- * open a confirm dialog based on bootstrap modal
- * @param okFn callback function to call on ok confirm
- * @param okMessage message in the ok button
- * @param cancelMessage message in the cancel button
- * @param title title of the modal box
- * @param bodyText html content of the modal box
- */
- openDialogConfirm=function(okFn, okMessage, cancelMessage, title,bodyText){
- </pre></div>
- <a href="../images/modal-confirm-dialog.png" class="single_image" title="Modal Confirm dialog">
- <img src="../images/modal-confirm-dialog.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
- Modal Confirm dialog
- </a>
-
- </div>
- </div>
-
-
- </div>
- </div>
-
- <hr/>
-
- <footer>
- <div class="container">
- <div class="row">
-
-<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
-
-<div class="row pull-left">
- <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
-</div>
- </div>
-
- <p id="poweredBy" class="pull-right">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
- <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
- </a>
- </p>
-
-
-
-
-
- <div id="ohloh" class="pull-right">
- <script type="text/javascript" src="https://www.ohloh.net/p/6670/widgets/project_basic_stats.js"></script>
- </div>
- </div>
- </footer>
- </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia
+ | Rendered using Apache Maven Fluido Skin 1.4
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="author" content="Olivier Lamy" />
+ <meta name="Date-Revision-yyyymmdd" content="20150625" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Archiva – Generics Javascript</title>
+ <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" />
+ <link rel="stylesheet" href="../css/site.css" />
+ <link rel="stylesheet" href="../css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script>
+
+
+
+<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
+
+
+<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
+ pageTracker._initData();
+ pageTracker._trackPageview();</script>
+
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-140879-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="../index.html" title="About">About</a>
+</li>
+
+ <li> <a href="../download.html" title="Downloads">Downloads</a>
+</li>
+
+ <li> <a href="../versions.html" title="Versions">Versions</a>
+</li>
+
+ <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a>
+</li>
+
+ <li> <a href="../security.html" title="Security">Security</a>
+</li>
+
+ <li class="dropdown-submenu">
+ <a href="../" title="Documentation">Documentation</a>
+ <ul class="dropdown-menu">
+ <li> <a href="../docs/2.2.0/" title="Release 2.2.0">Release 2.2.0</a>
+</li>
+ <li> <a href="../docs/1.3.9/" title="Preview 1.3.9">Preview 1.3.9</a>
+</li>
+ <li> <a href="../docs/2.2.1-SNAPSHOT/" title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="../developers/building.html" title="Build Apache Archiva">Build Apache Archiva</a>
+</li>
+
+ <li> <a href="../get-involved.html" title="Get involved">Get involved</a>
+</li>
+
+ <li> <a href="../developers/how-we-do-things.html" title="How we do things">How we do things</a>
+</li>
+
+ <li> <a href="../redback" title="Redback">Redback</a>
+</li>
+
+ <li> <a href="../redback/components" title="Redback Components">Redback Components</a>
+</li>
+
+ <li class="dropdown-submenu">
+ <a href="../jsui/index.html" title="Javascript application Architecture">Javascript application Architecture</a>
+ <ul class="dropdown-menu">
+ <li> <a href="../jsui/rest.html" title="Rest service">Rest service</a>
+</li>
+ <li> <a href="../jsui/template-loading.html" title="JS Template loading">JS Template loading</a>
+</li>
+ <li> <a href="../jsui/i18n.html" title="i18n">i18n</a>
+</li>
+ <li> <a href="../jsui/knockout-binding.html" title="Knockout Binding">Knockout Binding</a>
+</li>
+ <li> <a href="../jsui/generics-js.html" title="Generic Javascipts">Generic Javascipts</a>
+</li>
+ </ul>
+ </li>
+
+ <li> <a href="../developers/releasing.html" title="Releasing">Releasing</a>
+</li>
+
+ <li> <a href="../developers/publishing-site.html" title="Site Publish">Site Publish</a>
+</li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="http://www.apache.org/foundation/how-it-works.html" title="How Apache Works">How Apache Works</a>
+</li>
+
+ <li> <a href="http://www.apache.org/foundation/" title="Foundation">Foundation</a>
+</li>
+
+ <li> <a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsoring Apache">Sponsoring Apache</a>
+</li>
+
+ <li> <a href="http://www.apache.org/foundation/thanks.html" title="Thanks">Thanks</a>
+</li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li class="dropdown-submenu">
+ <a href="../project-info.html" title="Project Information">Project Information</a>
+ <ul class="dropdown-menu">
+ <li> <a href="../integration.html" title="Continuous Integration">Continuous Integration</a>
+</li>
+ <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a>
+</li>
+ <li> <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
+</li>
+ <li> <a href="../license.html" title="Project License">Project License</a>
+</li>
+ <li> <a href="../team-list.html" title="Project Team">Project Team</a>
+</li>
+ <li> <a href="../source-repository.html" title="Source Repository">Source Repository</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+
+ <form id="search-form" action="https://www.google.com/search" method="get" class="navbar-search pull-right" >
+
+ <input value="http://archiva.apache.org/" name="sitesearch" type="hidden"/>
+ <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script>
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../index.html" id="bannerLeft">
+ <img src="../images/archiva.png" alt="Apache Archiva"/>
+ </a>
+ </div>
+ <div class="pull-right"> <a href="http://www.apache.org/" id="bannerRight">
+ <img src="http://www.apache.org/images/asf_logo_wide.png" alt="Apache Software Foundation"/>
+ </a>
+ </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li class="">
+ <a href="http://www.apache.org/" class="externalLink" title="Apache">
+ Apache</a>
+ <span class="divider">/</span>
+ </li>
+ <li class="">
+ <a href="../" title="Archiva">
+ Archiva</a>
+ <span class="divider">/</span>
+ </li>
+ <li class="active ">Generics Javascript</li>
+
+
+
+ <li id="publishDate" class="pull-right">Last Published: 25 Jun 2015</li>
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <!-- ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License. -->
+
+
+ <script src="../js/jquery.fancybox.pack.2.1.5.js" type="text/javascript"></script>
+ <script src="../js/jquery.mousewheel-3.0.6.pack.js" type="text/javascript"></script>
+ <link rel="stylesheet" href="../css/jquery.fancybox.2.1.5.css" type="text/css" media="screen" />
+ <script type="text/javascript" src="../js/fancy-box-activation.js"></script>
+
+
+<ul>
+<li><a href="#Generics_Javascript">Generics Javascript</a>
+<ul>
+<li><a href="#User_messages">User messages</a></li>
+<li><a href="#Success_message">Success message</a></li>
+<li><a href="#Error_message">Error message</a></li>
+<li><a href="#Modal_Confirm_dialog">Modal Confirm dialog</a></li></ul></li></ul>
+
+
+<div class="section">
+<h2><a name="Generics_Javascript"></a>Generics Javascript</h2>
+
+<p>Some common/generic javascript methods are available.</p>
+
+<div class="section">
+<h3><a name="User_messages"></a>User messages</h3>
+
+<p>A div "user-messages" is reserved for user messages.</p>
+ </div>
+<div class="section">
+<h3><a name="Success_message"></a>Success message</h3>
+
+<p>
+ Javascript function:
+ </p>
+<div class="source"><pre class="prettyprint">
+displaySuccessMessage($.i18n.prop('managedrepository.added'));
+// the second parameter is optionnal by default #user-messages id is used
+displaySuccessMessage=function(text,idToAppend){
+ </pre></div>
+ <a href="../images/success-message.png" class="single_image" title="Success Message">
+ <img src="../images/success-message.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
+ Success Message
+ </a>
+
+ </div>
+
+
+<div class="section">
+<h3><a name="Error_message"></a>Error message</h3>
+
+<p>
+ Javascript function:
+ </p>
+<div class="source"><pre class="prettyprint">
+displayErrorMessage($.i18n.prop('managedrepository.added'));
+// the second parameter is optionnal by default #user-messages id is used
+displayErrorMessage=function(text,idToAppend){
+ </pre></div>
+ <a href="../images/error-message.png" class="single_image" title="Error Message">
+ <img src="../images/error-message.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
+ Error Message
+ </a>
+
+ </div>
+
+
+<div class="section">
+<h3><a name="Modal_Confirm_dialog"></a>Modal Confirm dialog</h3>
+
+<p>
+ Javascript function:
+ </p>
+<div class="source"><pre class="prettyprint">
+ /**
+ * open a confirm dialog based on bootstrap modal
+ * @param okFn callback function to call on ok confirm
+ * @param okMessage message in the ok button
+ * @param cancelMessage message in the cancel button
+ * @param title title of the modal box
+ * @param bodyText html content of the modal box
+ */
+ openDialogConfirm=function(okFn, okMessage, cancelMessage, title,bodyText){
+ </pre></div>
+ <a href="../images/modal-confirm-dialog.png" class="single_image" title="Modal Confirm dialog">
+ <img src="../images/modal-confirm-dialog.png" width="150" height="93" style="border: 1px solid silver; margin-left: 0.25em; margin-bottom: 0.25em" alt="" /><br />
+ Modal Confirm dialog
+ </a>
+
+ </div>
+ </div>
+
+
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+
+<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
+
+<div class="row pull-left">
+ <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+ </div>
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+
+
+
+
+ <div id="ohloh" class="pull-right">
+ <script type="text/javascript" src="https://www.ohloh.net/p/6670/widgets/project_basic_stats.js"></script>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file
Modified: archiva/site-content/jsui/i18n.html
URL: http://svn.apache.org/viewvc/archiva/site-content/jsui/i18n.html?rev=1687731&r1=1687730&r2=1687731&view=diff
==============================================================================
--- archiva/site-content/jsui/i18n.html (original)
+++ archiva/site-content/jsui/i18n.html Fri Jun 26 09:39:55 2015
@@ -1,239 +1,284 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia
- | Rendered using Apache Maven Fluido Skin 1.4
--->
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <meta name="author" content="Olivier Lamy" />
- <meta name="Date-Creation-yyyymmdd" content="20120119" />
- <meta name="Date-Revision-yyyymmdd" content="20150625" />
- <meta http-equiv="Content-Language" content="en" />
- <title>Archiva – i18n</title>
- <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" />
- <link rel="stylesheet" href="../css/site.css" />
- <link rel="stylesheet" href="../css/print.css" media="print" />
-
-
- <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script>
-
-
-
-<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
-
-
-<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
- pageTracker._initData();
- pageTracker._trackPageview();</script>
-
- </head>
- <body class="topBarEnabled">
-
-
-
-
-
- <div id="topbar" class="navbar navbar-fixed-top ">
- <div class="navbar-inner">
- <div class="container"><div class="nav-collapse">
-
-
- <ul class="nav">
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
- <li> <a href="../index.html" title="About">About</a>
-</li>
-
- <li> <a href="../download.html" title="Downloads">Downloads</a>
-</li>
-
- <li> <a href="../versions.html" title="Versions">Versions</a>
-</li>
-
- <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a>
-</li>
-
- <li> <a href="../security.html" title="Security">Security</a>
-</li>
-
- <li class="dropdown-submenu">
- <a href="../" title="Documentation">Documentation</a>
- <ul class="dropdown-menu">
- <li> <a href="../docs/2.2.0/" title="Release 2.2.0">Release 2.2.0</a>
-</li>
- <li> <a href="../docs/1.3.9/" title="Preview 1.3.9">Preview 1.3.9</a>
-</li>
- <li> <a href="../docs/2.2.1-SNAPSHOT/" title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
-</li>
- </ul>
- </li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
- <li> <a href="../developers/building.html" title="Build Apache Archiva">Build Apache Archiva</a>
-</li>
-
- <li> <a href="../get-involved.html" title="Get involved">Get involved</a>
-</li>
-
- <li> <a href="../developers/how-we-do-things.html" title="How we do things">How we do things</a>
-</li>
-
- <li> <a href="../redback" title="Redback">Redback</a>
-</li>
-
- <li> <a href="../redback/components" title="Redback Components">Redback Components</a>
-</li>
-
- <li class="dropdown-submenu">
- <a href="../jsui/index.html" title="Javascript application Architecture">Javascript application Architecture</a>
- <ul class="dropdown-menu">
- <li> <a href="../jsui/rest.html" title="Rest service">Rest service</a>
-</li>
- <li> <a href="../jsui/template-loading.html" title="JS Template loading">JS Template loading</a>
-</li>
- <li> <a href="../jsui/i18n.html" title="i18n">i18n</a>
-</li>
- <li> <a href="../jsui/knockout-binding.html" title="Knockout Binding">Knockout Binding</a>
-</li>
- <li> <a href="../jsui/generics-js.html" title="Generic Javascipts">Generic Javascipts</a>
-</li>
- </ul>
- </li>
-
- <li> <a href="../developers/releasing.html" title="Releasing">Releasing</a>
-</li>
-
- <li> <a href="../developers/publishing-site.html" title="Site Publish">Site Publish</a>
-</li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
- <ul class="dropdown-menu">
-
- <li> <a href="http://www.apache.org/foundation/how-it-works.html" title="How Apache Works">How Apache Works</a>
-</li>
-
- <li> <a href="http://www.apache.org/foundation/" title="Foundation">Foundation</a>
-</li>
-
- <li> <a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsoring Apache">Sponsoring Apache</a>
-</li>
-
- <li> <a href="http://www.apache.org/foundation/thanks.html" title="Thanks">Thanks</a>
-</li>
- </ul>
- </li>
- </ul>
-
- <form id="search-form" action="https://www.google.com/search" method="get" class="navbar-search pull-right" >
-
- <input value="http://archiva.apache.org/" name="sitesearch" type="hidden"/>
- <input class="search-query" name="q" id="query" type="text" />
-</form>
-<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script>
-
-
-
- </div>
-
- </div>
- </div>
- </div>
-
- <div class="container">
- <div id="banner">
- <div class="pull-left">
- <div id="bannerLeft">
- <h2>Archiva</h2>
- </div>
- </div>
- <div class="pull-right"> </div>
- <div class="clear"><hr/></div>
- </div>
-
- <div id="breadcrumbs">
- <ul class="breadcrumb">
-
-
- <li id="publishDate">Last Published: 2015-06-25
- <span class="divider">|</span>
- </li>
- <li id="projectVersion">Version: 1-SNAPSHOT
- </li>
-
-
-
-
- </ul>
- </div>
-
-
-
- <div id="bodyColumn" >
-
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mini/guide
-apt-format.html --><div class="section">
-<h2><a name="i18n_management"></a>i18n management</h2>
-<p>The js library <a class="externalLink" href="http://code.google.com/p/jquery-i18n-properties">jquery-i18n-properties</a> is used for i18n.</p>
-<p>On application loading, i18n properties are loaded by calling a REST services with the browser lang or with the requested language specified by the request parameter : ?request_lang=en.</p>
-<p>This service will load properties in this order:</p>
-<ul>
-<li>redback properties in en then in specified language</li>
-<li>archiva properties (from org/apache/archiva/i18n/default.properties) in en then in specified language</li></ul>
-<div class="section">
-<h3><a name="Javascript_method"></a>Javascript method</h3>
-<p>Simple i18n value without any value</p>
-<div class="source"><pre class="prettyprint">Javascript code :
-$.i18n.prop("save") will return the value for key save
-</pre></div>
-<p>You can pass some values too (sample for property managedrepository.deleted=Managed Repository " {0} " deleted. )</p>
-<div class="source"><pre class="prettyprint">Javascript code :
-$.i18n.prop("managedrepository.deleted",managedRepository.name())
-if managedRepository.name() is "foo"
-response will be Managed Repository " foo " deleted.
-</pre></div></div>
-<div class="section">
-<h3><a name="Missing_properties"></a>Missing properties</h3>
-<p>In case of missing property, the key is returned.</p></div></div>
- </div>
- </div>
-
- <hr/>
-
- <footer>
- <div class="container">
- <div class="row">
-
-<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
-
-<div class="row pull-left">
- <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
-</div>
- </div>
-
- <p id="poweredBy" class="pull-right">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
- <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
- </a>
- </p>
-
-
-
-
-
- <div id="ohloh" class="pull-right">
- <script type="text/javascript" src="https://www.ohloh.net/p/6670/widgets/project_basic_stats.js"></script>
- </div>
- </div>
- </footer>
- </body>
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia
+ | Rendered using Apache Maven Fluido Skin 1.4
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta name="author" content="Olivier Lamy" />
+ <meta name="Date-Creation-yyyymmdd" content="20120119" />
+ <meta name="Date-Revision-yyyymmdd" content="20150625" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>Archiva – i18n</title>
+ <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" />
+ <link rel="stylesheet" href="../css/site.css" />
+ <link rel="stylesheet" href="../css/print.css" media="print" />
+
+
+ <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script>
+
+
+
+<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>
+
+
+<script type="text/javascript">var pageTracker = _gat._getTracker("UA-140879-5");
+ pageTracker._initData();
+ pageTracker._trackPageview();</script>
+
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-140879-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+ </head>
+ <body class="topBarEnabled">
+
+
+
+
+
+ <div id="topbar" class="navbar navbar-fixed-top ">
+ <div class="navbar-inner">
+ <div class="container"><div class="nav-collapse">
+
+
+ <ul class="nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Introduction <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="../index.html" title="About">About</a>
+</li>
+
+ <li> <a href="../download.html" title="Downloads">Downloads</a>
+</li>
+
+ <li> <a href="../versions.html" title="Versions">Versions</a>
+</li>
+
+ <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a>
+</li>
+
+ <li> <a href="../security.html" title="Security">Security</a>
+</li>
+
+ <li class="dropdown-submenu">
+ <a href="../" title="Documentation">Documentation</a>
+ <ul class="dropdown-menu">
+ <li> <a href="../docs/2.2.0/" title="Release 2.2.0">Release 2.2.0</a>
+</li>
+ <li> <a href="../docs/1.3.9/" title="Preview 1.3.9">Preview 1.3.9</a>
+</li>
+ <li> <a href="../docs/2.2.1-SNAPSHOT/" title="Dev 2.2.1-SNAPSHOT">Dev 2.2.1-SNAPSHOT</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="../developers/building.html" title="Build Apache Archiva">Build Apache Archiva</a>
+</li>
+
+ <li> <a href="../get-involved.html" title="Get involved">Get involved</a>
+</li>
+
+ <li> <a href="../developers/how-we-do-things.html" title="How we do things">How we do things</a>
+</li>
+
+ <li> <a href="../redback" title="Redback">Redback</a>
+</li>
+
+ <li> <a href="../redback/components" title="Redback Components">Redback Components</a>
+</li>
+
+ <li class="dropdown-submenu">
+ <a href="../jsui/index.html" title="Javascript application Architecture">Javascript application Architecture</a>
+ <ul class="dropdown-menu">
+ <li> <a href="../jsui/rest.html" title="Rest service">Rest service</a>
+</li>
+ <li> <a href="../jsui/template-loading.html" title="JS Template loading">JS Template loading</a>
+</li>
+ <li> <a href="../jsui/i18n.html" title="i18n">i18n</a>
+</li>
+ <li> <a href="../jsui/knockout-binding.html" title="Knockout Binding">Knockout Binding</a>
+</li>
+ <li> <a href="../jsui/generics-js.html" title="Generic Javascipts">Generic Javascipts</a>
+</li>
+ </ul>
+ </li>
+
+ <li> <a href="../developers/releasing.html" title="Releasing">Releasing</a>
+</li>
+
+ <li> <a href="../developers/publishing-site.html" title="Site Publish">Site Publish</a>
+</li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li> <a href="http://www.apache.org/foundation/how-it-works.html" title="How Apache Works">How Apache Works</a>
+</li>
+
+ <li> <a href="http://www.apache.org/foundation/" title="Foundation">Foundation</a>
+</li>
+
+ <li> <a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsoring Apache">Sponsoring Apache</a>
+</li>
+
+ <li> <a href="http://www.apache.org/foundation/thanks.html" title="Thanks">Thanks</a>
+</li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+
+ <li class="dropdown-submenu">
+ <a href="../project-info.html" title="Project Information">Project Information</a>
+ <ul class="dropdown-menu">
+ <li> <a href="../integration.html" title="Continuous Integration">Continuous Integration</a>
+</li>
+ <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a>
+</li>
+ <li> <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
+</li>
+ <li> <a href="../license.html" title="Project License">Project License</a>
+</li>
+ <li> <a href="../team-list.html" title="Project Team">Project Team</a>
+</li>
+ <li> <a href="../source-repository.html" title="Source Repository">Source Repository</a>
+</li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+
+ <form id="search-form" action="https://www.google.com/search" method="get" class="navbar-search pull-right" >
+
+ <input value="http://archiva.apache.org/" name="sitesearch" type="hidden"/>
+ <input class="search-query" name="q" id="query" type="text" />
+</form>
+<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script>
+
+
+
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../index.html" id="bannerLeft">
+ <img src="../images/archiva.png" alt="Apache Archiva"/>
+ </a>
+ </div>
+ <div class="pull-right"> <a href="http://www.apache.org/" id="bannerRight">
+ <img src="http://www.apache.org/images/asf_logo_wide.png" alt="Apache Software Foundation"/>
+ </a>
+ </div>
+ <div class="clear"><hr/></div>
+ </div>
+
+ <div id="breadcrumbs">
+ <ul class="breadcrumb">
+
+
+ <li class="">
+ <a href="http://www.apache.org/" class="externalLink" title="Apache">
+ Apache</a>
+ <span class="divider">/</span>
+ </li>
+ <li class="">
+ <a href="../" title="Archiva">
+ Archiva</a>
+ <span class="divider">/</span>
+ </li>
+ <li class="active ">i18n</li>
+
+
+
+ <li id="publishDate" class="pull-right">Last Published: 25 Jun 2015</li>
+
+ </ul>
+ </div>
+
+
+
+ <div id="bodyColumn" >
+
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/guides/mini/guide
-apt-format.html --><div class="section">
+<h2><a name="i18n_management"></a>i18n management</h2>
+<p>The js library <a class="externalLink" href="http://code.google.com/p/jquery-i18n-properties">jquery-i18n-properties</a> is used for i18n.</p>
+<p>On application loading, i18n properties are loaded by calling a REST services with the browser lang or with the requested language specified by the request parameter : ?request_lang=en.</p>
+<p>This service will load properties in this order:</p>
+<ul>
+<li>redback properties in en then in specified language</li>
+<li>archiva properties (from org/apache/archiva/i18n/default.properties) in en then in specified language</li></ul>
+<div class="section">
+<h3><a name="Javascript_method"></a>Javascript method</h3>
+<p>Simple i18n value without any value</p>
+<div class="source"><pre class="prettyprint">Javascript code :
+$.i18n.prop("save") will return the value for key save</pre></div>
+<p>You can pass some values too (sample for property managedrepository.deleted=Managed Repository " {0} " deleted. )</p>
+<div class="source"><pre class="prettyprint">Javascript code :
+$.i18n.prop("managedrepository.deleted",managedRepository.name())
+if managedRepository.name() is "foo"
+response will be Managed Repository " foo " deleted.</pre></div></div>
+<div class="section">
+<h3><a name="Missing_properties"></a>Missing properties</h3>
+<p>In case of missing property, the key is returned.</p></div></div>
+ </div>
+ </div>
+
+ <hr/>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+
+<div class="row pull-left">Apache Archiva, Archiva, Apache, the Apache feather logo, and the Apache Archiva project logos are trademarks of The Apache Software Foundation.</div>
+
+<div class="row pull-left">
+ <a href="http://archiva.apache.org/privacy-policy.html">Privacy Policy</a>
+</div>
+ </div>
+
+ <p id="poweredBy" class="pull-right">
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
+ </a>
+ </p>
+
+
+
+
+
+ <div id="ohloh" class="pull-right">
+ <script type="text/javascript" src="https://www.ohloh.net/p/6670/widgets/project_basic_stats.js"></script>
+ </div>
+ </div>
+ </footer>
+ </body>
</html>
\ No newline at end of file