incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r857274 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/ documentation/development/ documentation/the-sling-engine/ documentation/the-sling-engine/authentication/ documentation/tutorials-how-tos/ old-stuff/
Date Thu, 04 Apr 2013 13:03:42 GMT
Author: buildbot
Date: Thu Apr  4 13:03:42 2013
New Revision: 857274

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
    websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
    websites/staging/sling/trunk/content/documentation/development/embedding-sling.html
    websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html
    websites/staging/sling/trunk/content/documentation/development/version-policy.html
    websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html
    websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-framework.html
    websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html
    websites/staging/sling/trunk/content/documentation/the-sling-engine/request-parameters.html
    websites/staging/sling/trunk/content/documentation/the-sling-engine/url-decomposition.html
    websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
    websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
    websites/staging/sling/trunk/content/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
    websites/staging/sling/trunk/content/old-stuff/request-processing.html
    websites/staging/sling/trunk/content/old-stuff/servlet-resolution.html
    websites/staging/sling/trunk/content/old-stuff/sling-api.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Apr  4 13:03:42 2013
@@ -1 +1 @@
-1464509
+1464512

Modified: websites/staging/sling/trunk/content/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
(original)
+++ websites/staging/sling/trunk/content/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html
Thu Apr  4 13:03:42 2013
@@ -193,12 +193,15 @@ Example with curl:</p>
 </pre></div>
 
 
-<p>{note}See section 16.3 of the JCR 2.0 specification for an explanation of the difference
between bound and effective policies.{note}</p>
+<div class="note">
+See section 16.3 of the JCR 2.0 specification for an explanation of the difference between
bound and effective policies.
+</div>
+
 <h2 id="sample-user-interface-implementation">Sample User Interface Implementation</h2>
 <p><em>Since Version 2.1.1</em></p>
 <p>A sample implementation of ui pages for permissions management is provided @ http://svn.apache.org/viewvc/sling/trunk/samples/accessmanager-ui/</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
(original)
+++ websites/staging/sling/trunk/content/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html
Thu Apr  4 13:03:42 2013
@@ -217,13 +217,15 @@
 </ul>
 <p>All these operations always operate on the resource of the request as returned by
<code>SlingHttpServletRequest.getResource()</code>. Some operations require additional
parameters to be set to operate completely.</p>
 <p>Please note that operations are mutually exclusive. For a single POST request only
one operation may be executed. Operations also only consume the request parameters as described
below. Any excess parameters are silently ignored.</p>
-<p>{note:title=Automated Tests}
-Note that the <code>launchpad/testing</code> module contains a number of <a
href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/post/">integration
tests</a> for the SlingPostServlet. Most of these tests are fairly readable, and can
be used to find out more details about the servlet's behavior.
-{note}</p>
-<p>{note:title=Trailing star in the :applyTo parameter}
-This applies to operations that use this parameter, since version 2.1.2 of the <em>org.apache.sling.servlets.post</em>
bundle: If the last segment of the <code>:applyTo</code> value is '*' then the
operation applies to all the children of the resolved parent resource. This can be used to
act on all the children 
+<div class="note">
+Note that the `launchpad/testing` module contains a number of [integration tests](http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/post/)
for the SlingPostServlet. Most of these tests are fairly readable, and can be used to find
out more details about the servlet's behavior.
+</div>
+
+<div class="note">
+This applies to operations that use this parameter, since version 2.1.2 of the *org.apache.sling.servlets.post*
bundle: If the last segment of the `:applyTo` value is '*' then the operation applies to all
the children of the resolved parent resource. This can be used to act on all the children

 of a resource without having to specify the path of each individual child resource.
-{note}</p>
+</div>
+
 <h3 id="content-creation-or-modification">Content Creation or Modification</h3>
 <p>The simplest and most common use case, probably, is content creation and modification.
We already saw an example above in the quickstart section. In this section we elaborate more
on the concrete stuff.</p>
 <p>First, the request URL indicates the actual repository node to be handled. If the
URL addresses an existing node, the request parameters just provide values for the properties
to be set on the existing node.</p>
@@ -1038,7 +1040,7 @@ The Accept header can be overridden (and
 <h3 id="slingpostprocessor">SlingPostProcessor</h3>
 <p>TODO: document the SlingPostProcessor extension point, and related tests</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1345726 by fmeschbe on Sun, 3 Jun 2012 17:57:55 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/development/embedding-sling.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/embedding-sling.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/embedding-sling.html Thu
Apr  4 13:03:42 2013
@@ -180,9 +180,10 @@
 </table>
 <p>At the moment these classes are not directly suitable to be embedded in an existing
application (or custom application launcher framework) unless that embedding prepares command
line arguments in a <code>String[]()</code> and calls the <code>Main.main</code>
method. To allow for custom embeddings or extensions, the work distriubtions between the three
classes should be refactored.</p>
 <h3 id="embedding-the-standalone-java-application">Embedding the Standalone Java Application</h3>
-<p>{info}
-This work is being done as part of <a href="">SLING-2225</a> and will be officially
available with the Sling Launchpad Base release 2.4.0. If you want to use the embedding before
the release, you have to checkout the source from [SVN|http://svn.apache.org/repos/asf/sling/trunk/launchpad/base]
and build yourself.
-{info}</p>
+<div class="info">
+This work is being done as part of [SLING-2225]() and will be officially available with the
Sling Launchpad Base release 2.4.0. If you want to use the embedding before the release, you
have to checkout the source from [SVN|http://svn.apache.org/repos/asf/sling/trunk/launchpad/base]
and build yourself.
+</div>
+
 <p>To embedd the Sling Launcher in an application, the <code>Main</code>
class is extended from. To manage the launcher, the following API is available:</p>
 <table>
 <thead>
@@ -322,7 +323,7 @@ This work is being done as part of <a hr
 </table>
 <p>At the moment these classes, particularly the <code>SlingServlet</code>
class, are not particularly well suited to be extended by a servlet slightly modifying the
launcher.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1366519 by fmeschbe on Fri, 27 Jul 2012 20:03:35 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html
(original)
+++ websites/staging/sling/trunk/content/documentation/development/maventipsandtricks.html
Thu Apr  4 13:03:42 2013
@@ -101,9 +101,10 @@
 
 
 <p>does the trick.</p>
-<p>{note}
+<div class="note">
 Does anyone have a similar command-line option that works under Windows?
-{note}</p>
+</div>
+
 <h1></h1>
 <h1 id="maven_opts">MAVEN_OPTS</h1>
 <p>The MAVEN_OPTS environment variable defines options for the JVM that executes Maven.</p>
@@ -125,7 +126,7 @@ Does anyone have a similar command-line 
 <h2 id="avoid-spaces-in-maven-repository-and-workspace-paths">Avoid spaces in Maven
repository and workspace paths</h2>
 <p>Some Maven plugins do not like spaces in paths. It is better to avoid putting your
Maven repository, or your code, under paths like <em>Documents and Settings</em>,
for example.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/development/version-policy.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/development/version-policy.html (original)
+++ websites/staging/sling/trunk/content/documentation/development/version-policy.html Thu
Apr  4 13:03:42 2013
@@ -87,9 +87,10 @@
       
       <h1>Version Policy</h1>
       <p>This page is about how we assign versions to exported packages and bundles
and defines when to increase which part of the version number.</p>
-<p>{info}
+<div class="info">
 Please note that this page is currently in draft stage and still being discussed.
-{info}</p>
+</div>
+
 <div class="toc">
 <ul>
 <li><a href="#introduction">Introduction</a></li>
@@ -240,7 +241,7 @@ The exports in bundle/api/pom.xml look l
 <a href="">Semantic Versioning</a> -- An OSGi Alliance paper on semantic versioning.
 <a href="">Bnd Experimental</a> -- Experimental extensions to the BND library;
unfortunately these extensions are not yet usable with Maven Bundle Plugin 2.1.0 due to API
changes in the BND library not supported by the plugin.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html
(original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-actors.html
Thu Apr  4 13:03:42 2013
@@ -125,11 +125,11 @@
 </li>
 </ul>
 <p>Sling Applications should never directly use any knowledge of any authentication
handler or directly call into an authentication handler. This will certainly break the application
and cause unexpected behaviour.</p>
-<p>{info}
-If you want to know whether a request is authenticated or not, you can inspect the result
of the <code>HttpServletRequest.getAuthType</code> method: If this method returns
<code>null</code> the request is not authenticated.
-{info}</p>
+<div class="info">
+If you want to know whether a request is authenticated or not, you can inspect the result
of the `HttpServletRequest.getAuthType` method: If this method returns `null` the request
is not authenticated.
+</div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341361 by fmeschbe on Tue, 22 May 2012 08:54:04 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-framework.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-framework.html
(original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/authentication/authentication-framework.html
Thu Apr  4 13:03:42 2013
@@ -115,9 +115,10 @@
 | present | failed | Select <code>AuthenticationHandler</code> and call <code>requestCredentials</code>
method |
 | missing | anonymous allowed | Continue with a non authenticated request using anonymous
access to the repository |
 | missing | anonymous forbidden | Select <code>AuthenticationHandler</code> and
call <code>requestCredentials</code> method |</p>
-<p>{note}
-Only one <code>AuthenticationHandler</code> is able to provide credentials for
a given request. If the credentials provided by the handler cannot be used to login to the
repository, authentication fails and no further <code>AuthenticationHandler</code>
is consulted.
-{note}</p>
+<div class="note">
+Only one `AuthenticationHandler` is able to provide credentials for a given request. If the
credentials provided by the handler cannot be used to login to the repository, authentication
fails and no further `AuthenticationHandler` is consulted.
+</div>
+
 <h4 id="request-attributes-on-successful-login">Request Attributes on Successful Login</h4>
 <p>The <code>handleSecurity</code> method gets credentials from the <code>AuthenticationHandler</code>
and logs into the JCR repository using those credentials. If the login is successful, the
<code>SlingAuthenticator</code> sets the following request attributes:</p>
 <table>
@@ -208,7 +209,7 @@ Only one <code>AuthenticationHandler</co
 1. Call the <code>dropCredentials</code> method of each authentication handler,
where the order of handler call is defined by the length of the registered path: handlers
registered with longer paths are called before handlers with shorter paths. The goal is to
call the handlers in order from longest request path match to shortest match. Handlers not
matching the request path at all are not called.</p>
 <p>Unlike for the <code>login</code> method in the <code>logout</code>
method case all <code>AuthenticationHandler</code> services selected in the first
step are called. If none can be selected or none can actually handle the <code>dropCredentials</code>
request, the <code>logout</code> silently returns.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341361 by fmeschbe on Tue, 22 May 2012 08:54:04 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/filters.html Thu Apr
 4 13:03:42 2013
@@ -87,9 +87,10 @@
       
       <h1>Servlet Filter Support</h1>
       <p>Sling supports filter processing by applying filter chains to the requests
before actually dispatching to the servlet or script for processing. Filters to be used in
such filter processing are plain OSGi services of type <code>javax.servlet.Filter</code>
which of course means that the services implement this interface.</p>
-<p>{note}</p>
-<p>See <a href="">SLING-1213</a>, [SLING-1734|https://issues.apache.org/jira/browse/SLING-1734],
and [Registering filters with Sling|http://markmail.org/message/quxhm7d5s6u66crr] for more
details.
-{note}</p>
+<div class="note">
+See [SLING-1213](), [SLING-1734|https://issues.apache.org/jira/browse/SLING-1734], and [Registering
filters with Sling|http://markmail.org/message/quxhm7d5s6u66crr] for more details.
+</div>
+
 <p>For Sling to pick up a <code>javax.servlet.Filter</code> service for
filter processing two service registration properties are inspected:</p>
 <table>
 <thead>
@@ -242,7 +243,7 @@
 <li>Filter ordering is defined by the <code>filter.order</code> property
whose default value is <code>Integer.MAX_VALUE</code> where smaller values have
higher priority over higher values.</li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1464401 by bdelacretaz on Thu, 4 Apr 2013 09:43:11 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/request-parameters.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/request-parameters.html
(original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/request-parameters.html
Thu Apr  4 13:03:42 2013
@@ -186,11 +186,11 @@
 <li>The parameter values are re-encoded, unless the parameter value is an uploaded
file. Actually the parameter (not the files of course) are internally as <code>byte[]()</code>
where the conversion to a string is done on the fly (and yes, the conversion using the <code>\*charset\*</code>
character encoding is of course cached for performance reasons)</li>
 <li>If the parameter is an uploaded file, the file name is re-encoded on the fly when
accessed</li>
 </ul>
-<p>{info}
-Up to and including Sling Engine 2.2.2 request parameters are always decoded with ISO-8859-1
encoding if the <code>\*charset\*</code> request parameter is missing. As of Sling
Engine 2.2.4 the <code>\*charset\*</code> request parameter is optional. As of
this version the Sling Main Servlet supports a configuration setting which allows to change
the default character encoding used if the <code>\*charset\*</code> request parameter
is missing. To enable this functionality set the <code>sling.default.parameter.encoding</code>
parameter of the Sling Main Servlet (PID <code>org.apache.sling.engine.impl.SlingMainServlet</code>)
configuration to the desired encoding, which of course must be supported by the actual Java
Platform.
-{info}</p>
+<div class="info">
+Up to and including Sling Engine 2.2.2 request parameters are always decoded with ISO-8859-1
encoding if the `\*charset\*` request parameter is missing. As of Sling Engine 2.2.4 the `\*charset\*`
request parameter is optional. As of this version the Sling Main Servlet supports a configuration
setting which allows to change the default character encoding used if the `\*charset\*` request
parameter is missing. To enable this functionality set the `sling.default.parameter.encoding`
parameter of the Sling Main Servlet (PID `org.apache.sling.engine.impl.SlingMainServlet`)
configuration to the desired encoding, which of course must be supported by the actual Java
Platform.
+</div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1345726 by fmeschbe on Sun, 3 Jun 2012 17:57:55 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/url-decomposition.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/url-decomposition.html
(original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/url-decomposition.html
Thu Apr  4 13:03:42 2013
@@ -213,11 +213,11 @@
 </tr>
 </tbody>
 </table>
-<p>{info:title=Automated tests and examples}
-The <a href="">SlingRequestPathInfoTest</a> demonstrates and tests this decomposition.
Feel free to suggest additional tests that help clarify how this works!
-{info}</p>
+<div class="info">
+The [SlingRequestPathInfoTest](http://svn.apache.org/repos/asf/sling/trunk/bundles/engine/src/test/java/org/apache/sling/engine/impl/request/SlingRequestPathInfoTest.java)
demonstrates and tests this decomposition. Feel free to suggest additional tests that help
clarify how this works!
+</div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
(original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
Thu Apr  4 13:03:42 2013
@@ -86,9 +86,10 @@
       
       
       <h1>URL to Script Resolution</h1>
-      <p>{info:title=More information} 
-This page is currently a copy from <a href="http://markmail.org/message/tksvk4xfwapdpkwo">this
mailing list thread</a>. See also [SLING-387|https://issues.apache.org/jira/browse/SLING-387]
and the unit test <a href="http://svn.apache.org/repos/asf/incubator/sling/trunk/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/helper/ScriptSelectionTest.java">ScriptSelectionTest.java</a>.
-{info} </p>
+      <div class="info">
+This page is currently a copy from [this mailing list thread](http://markmail.org/message/tksvk4xfwapdpkwo).
See also [SLING-387|https://issues.apache.org/jira/browse/SLING-387] and the unit test [ScriptSelectionTest.java](http://svn.apache.org/repos/asf/incubator/sling/trunk/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/helper/ScriptSelectionTest.java).
+</div>
+
 <div class="toc">
 <ul>
 <li><a href="#fundamental-scripts-and-servlets-are-equal">Fundamental: Scripts
and Servlets are equal</a></li>
@@ -172,7 +173,7 @@ This page is currently a copy from <a hr
 </ul>
 <p>The priority of script selection would (6) - (4) - (5) - (3) - (2) - (1) - (0).
Note that (4) is a better match than (5) because it matches more selectors even though (5)
has an extension match where (4) does not.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1345726 by fmeschbe on Sun, 3 Jun 2012 17:57:55 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
(original)
+++ websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
Thu Apr  4 13:03:42 2013
@@ -127,9 +127,10 @@
 <p>That's two input fields, a submit button and a hidden field that tells Sling what
to do after the POST (in this case: redirect to the html view of the node that was just created).</p>
 <p>To test the form, start Sling and save the above script as  <sup id="fnref:esp"><a
href="#fn:esp" rel="footnote">1</a></sup>  in the Sling repository - a WebDAV
mount is the easiest way to do that. Browsing to <a href="http://localhost:8888/content/blog/*.html">http://localhost:8888/content/blog/*.html</a>
<sup id="fnref:port"><a href="#fn:port" rel="footnote">2</a></sup>
should display the above form.</p>
 <p>Input some data (using "foo" for the title, for the sake of our examples below),
save the form, and Sling should display the form again, using the URL of the node that was
just created.</p>
-<p>{note:title=AccessDeniedException?}
-If you get an error saying <em>javax.jcr.AccessDeniedException: ...not allowed to add
or modify item</em> it means that you are not logged in as user <em>admin</em>.
See instructions above for logging in.
-{note}</p>
+<div class="note">
+If you get an error saying _javax.jcr.AccessDeniedException: ...not allowed to add or modify
item_ it means that you are not logged in as user _admin_. See instructions above for logging
in.
+</div>
+
 <p>At this point you're probably looking at an empty form with an URL ending in <em>foo</em>,
if you used that for the title. Or <em>foo_0</em> or <em>foo_1</em>
if other _foo_s already existed. Don't worry about not seeing your content, we'll fix that
right away.</p>
 <h2 id="step-2-wheres-my-content">Step 2: Where's my content?</h2>
 <p>To verify that our content has been created, we can have a look at the JSON data
at <a href="http://localhost:8888/content/blog/foo.tidy.json">http://localhost:8888/content/blog/foo.tidy.json</a>,
which should display our new node's values:</p>
@@ -208,7 +209,7 @@ If you get an error saying <em>javax.jcr
 </ol>
 </div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1464418 by bdelacretaz on Thu, 4 Apr 2013 10:21:47 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
(original)
+++ websites/staging/sling/trunk/content/documentation/tutorials-how-tos/installing-and-upgrading-bundles.html
Thu Apr  4 13:03:42 2013
@@ -86,9 +86,10 @@
       
       
       <h1>Installing and Upgrading Bundles</h1>
-      <p>{note}
-We recommend to use the Apache Felix Web Console. The documentation below describes the old
Sling Management Console, which isn't in use any more. Please refer to the documentation of
the <a href="http://felix.apache.org/site/apache-felix-web-console.html">Apache Felix
Web Console</a>.
-{note}</p>
+      <div class="note">
+We recommend to use the Apache Felix Web Console. The documentation below describes the old
Sling Management Console, which isn't in use any more. Please refer to the documentation of
the [Apache Felix Web Console](http://felix.apache.org/site/apache-felix-web-console.html).
+</div>
+
 <p>OSGi bundles installed in the OSGi framework, which is provided by Sling, may be
upgraded or removed and new bundles may be installed by using the Sling Management Console.
This page is about using the Sling Management Console for those tasks.</p>
 <p>Basically, you have two choices to install and upgrade bundles: Upload the bundle
files or install them from a Bundle Repository.</p>
 <h2 id="sling-management-console">Sling Management Console</h2>
@@ -139,7 +140,7 @@ We recommend to use the Apache Felix Web
 
 <p>Note: Only use <code>file:</code> URLs if you know Sling has access
to the named file !</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1345850 by fmeschbe on Mon, 4 Jun 2012 07:40:42 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/old-stuff/request-processing.html
==============================================================================
--- websites/staging/sling/trunk/content/old-stuff/request-processing.html (original)
+++ websites/staging/sling/trunk/content/old-stuff/request-processing.html Thu Apr  4 13:03:42
2013
@@ -86,9 +86,10 @@
       
       
       <h1>Request Processing</h1>
-      <p>{note:title=Page Status}
-2008-02-13: this page is <em>out of sync</em> with the current codebase, needs
to be reviewed and updated.
-{note}</p>
+      <div class="note">
+2008-02-13: this page is *out of sync* with the current codebase, needs to be reviewed and
updated.
+</div>
+
 <p>One of the core problems towards understanding how Sling works is knowing how a
Client Request is processed by Sling. This page describes the flow of processing requests
inside Sling.</p>
 <h2 id="core-request-processing">Core Request Processing</h2>
 <p>The HTTP request enters Sling in the <code>org.apache.sling.core.ComponentRequestHandlerImpl.service(ServletRequest
req, ServletResponse res)</code> method as the <code>ComponentRequestHandlerImpl</code>
is registered as the Servlet handling HTTP requests. This method sets up the initial <code>ComponentRequest</code>
and <code>ComponentResponse</code> objects and hands the request over to the first
<code>ComponentFilterChain</code>. This first filter chain calls all <code>ComponentFilter</code>
instances registered as request level filters. After processing all filters in the request
level filter chain, the request is handed over to the second <code>ComponentFilterChain</code>
which calls all <code>ComponentFilter</code> instances registered as component
level filters. At the end of the second filter chain the <code>service</code>
method of the actual <code>Component</code> to which the request resolved is called.</p>
@@ -213,7 +214,7 @@ used have to be registered as services u
 
 <p>This could for example be used to fall back to a default navigation setup while
providing for specialized navigation configuration in an optional <code>navigation</code>
child node.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/old-stuff/servlet-resolution.html
==============================================================================
--- websites/staging/sling/trunk/content/old-stuff/servlet-resolution.html (original)
+++ websites/staging/sling/trunk/content/old-stuff/servlet-resolution.html Thu Apr  4 13:03:42
2013
@@ -86,10 +86,12 @@
       
       
       <h1>Servlet Resolution</h1>
-      <p>{warning:title=Out Of Sync}
-Please note that the description on this page is out of sync with the most recent developments
going on as part of implementing issue <a href="">SLING-387</a>. See the links
to integration tests at the end of this page for the Current Truth.</p>
-<p>Please see the new <a href="/documentation/the-sling-engine/servlets.html">Servlets</a>
page.
-{warning}</p>
+      <div class="warning">
+Please note that the description on this page is out of sync with the most recent developments
going on as part of implementing issue [SLING-387](). See the links to integration tests at
the end of this page for the Current Truth.
+
+Please see the new [Servlets](/documentation/the-sling-engine/servlets.html) page.
+</div>
+
 <div class="toc">
 <ul>
 <li><a href="#servlets-are-resources">Servlets are Resources</a><ul>
@@ -259,7 +261,7 @@ Please note that the description on this
 <p>Integration tests in the <a href="">launchpad/testing module</a> verify
that these examples are correct.</p>
 <p>Contributions to these tests and examples are welcome, of course!</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/old-stuff/sling-api.html
==============================================================================
--- websites/staging/sling/trunk/content/old-stuff/sling-api.html (original)
+++ websites/staging/sling/trunk/content/old-stuff/sling-api.html Thu Apr  4 13:03:42 2013
@@ -86,9 +86,10 @@
       
       
       <h1>Sling API</h1>
-      <p>{note:title=Work In Progress}
-The contents of this page is being created at the moment. It contains incomplete and partially
wrong information as the text is adapted from the contents of the <a href="">Component
API</a> documentation page.
-{note}</p>
+      <div class="note">
+The contents of this page is being created at the moment. It contains incomplete and partially
wrong information as the text is adapted from the contents of the [Component API]() documentation
page.
+</div>
+
 <h2 id="introduction">Introduction</h2>
 <p>The <em>Sling API</em> defines a presentation framework to build Web
Applications. As such the Sling API builds upon the Servlet API but extends the latter with
new functionality:</p>
 <ul>
@@ -220,9 +221,10 @@ The contents of this page is being creat
 </tr>
 </tbody>
 </table>
-<p>{info:title=Automated tests and examples}
-The <a href="">SlingRequestPathInfoTest</a> demonstrates and tests this decomposition.
Feel free to suggest additional tests that help clarify how this works!
-{info}</p>
+<div class="info">
+The [SlingRequestPathInfoTest]() demonstrates and tests this decomposition. Feel free to
suggest additional tests that help clarify how this works!
+</div>
+
 <h2 id="the-slinghttpservletrequest">The SlingHttpServletRequest</h2>
 <p>The <code>org.apache.sling.api.SlingHttpServletRequest</code> interface
defines the basic data available from the client request to both action processing and response
rendering. The <code>SlingHttpServletRequest</code> extends the <code>javax.servlet.http.HTTPServletRequest</code>.</p>
 <p>This section describes the data available from the <code>SlingHttpServletRequest</code>.
For a complete and normative description of the methods, refer to the Sling API JavaDoc. The
following information is represented for reference. In the case of differences between the
following descriptions and the Sling API JavaDoc, the latter takes precedence.</p>
@@ -368,7 +370,7 @@ The <a href="">SlingRequestPathInfoTest<
 </table>
 <p>This specification does not define, how error handlers are configured and used if
the Component Framework provides error handling support. Likewise the Component Framework
may or may not implement support to handle calls to the <code>ComponentResponse.sendError</code>
method. The Component Framework may also use its own error handling also for errors resulting
from request processing failures, for example if authentication is required or if the request
URL cannot be resolved to a Content object.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1341376 by fmeschbe on Tue, 22 May 2012 09:41:06 +0000
+        Rev. 1464512 by bdelacretaz on Thu, 4 Apr 2013 13:03:31 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project



Mime
View raw message