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 2013/08/23 09:27:01 UTC

svn commit: r875787 - in /websites/staging/isis/trunk: cgi-bin/ content/ content/components/viewers/wicket/customizing-the-viewer.html

Author: buildbot
Date: Fri Aug 23 07:27:00 2013
New Revision: 875787

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/customizing-the-viewer.html

Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug 23 07:27:00 2013
@@ -1 +1 @@
-1516717
+1516718

Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug 23 07:27:00 2013
@@ -1 +1 @@
-1516717
+1516718

Modified: websites/staging/isis/trunk/content/components/viewers/wicket/customizing-the-viewer.html
==============================================================================
--- websites/staging/isis/trunk/content/components/viewers/wicket/customizing-the-viewer.html (original)
+++ websites/staging/isis/trunk/content/components/viewers/wicket/customizing-the-viewer.html Fri Aug 23 07:27:00 2013
@@ -275,7 +275,7 @@
 
 <p>These customizations should be added to <code>src/main/webapp/css/application.css</code>; this file is included by default in every webpage served up by the Wicket viewer.</p>
 
-<p>If for some reason you wanted to name it differently, then adjust the Guice bindings (part of Isis' bootstrapping) in your custom subclass of <code>IsisWicketApplication</code>:</p>
+<p>If for some reason you wanted to name the CSS file differently (eg <code>stylesheets/myapp.css</code>), then adjust the Guice bindings (part of Isis' bootstrapping) in your custom subclass of <code>IsisWicketApplication</code>:</p>
 
 <pre><code>public class MyAppApplication extends IsisWicketApplication {
     @Override
@@ -287,7 +287,7 @@
                 ...
                 bind(String.class)
                     .annotatedWith(Names.named("applicationCss"))
-                    .toInstance("css/application.css");
+                    .toInstance("stylesheets/myapp.css");
                 ...
             }
         };