You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2014/03/12 08:51:16 UTC
svn commit: r901228 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/components/viewers/wicket/how-to-tweak-the-ui-using-javascript.html
Author: buildbot
Date: Wed Mar 12 07:51:15 2014
New Revision: 901228
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/components/viewers/wicket/how-to-tweak-the-ui-using-javascript.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Mar 12 07:51:15 2014
@@ -1 +1 @@
-1576620
+1576624
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Mar 12 07:51:15 2014
@@ -1 +1 @@
-1576620
+1576624
Modified: websites/staging/isis/trunk/content/components/viewers/wicket/how-to-tweak-the-ui-using-javascript.html
==============================================================================
--- websites/staging/isis/trunk/content/components/viewers/wicket/how-to-tweak-the-ui-using-javascript.html (original)
+++ websites/staging/isis/trunk/content/components/viewers/wicket/how-to-tweak-the-ui-using-javascript.html Wed Mar 12 07:51:15 2014
@@ -328,6 +328,8 @@
<li>by providing new pages (see <a href="./custom-pages.html">here</a>)</li>
</ul>
+<p>Customizing the viewer using Javascript is discouraged, however, as there is no formal API that such custom JS can target. Instead, consider implementing the customization server-side, using the <code>ComponentFactory</code> interface (described <a href="./customizing-the-viewer.html">here</a>).</p>
+
<h2>Customizing using Javascript snippets</h2>
<p>The Wicket viewer ships with embedded JQuery, so this can be leveraged (eg to run some arbitrary JQuery on page load). </p>