Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AD45CA48 for ; Sun, 20 May 2012 15:29:55 +0000 (UTC) Received: (qmail 64443 invoked by uid 500); 20 May 2012 15:29:55 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 64410 invoked by uid 500); 20 May 2012 15:29:55 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 64403 invoked by uid 99); 20 May 2012 15:29:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 15:29:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 15:29:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B95D12388A02 for ; Sun, 20 May 2012 15:29:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r818433 [1/2] - in /websites/staging/sling/trunk/content: ./ the-sling-engine/ Date: Sun, 20 May 2012 15:29:14 -0000 To: commits@sling.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120520152918.B95D12388A02@eris.apache.org> Author: buildbot Date: Sun May 20 15:29:12 2012 New Revision: 818433 Log: Staging update by buildbot for sling Added: websites/staging/sling/trunk/content/sitemap.html Modified: websites/staging/sling/trunk/content/ (props changed) websites/staging/sling/trunk/content/46-line-blog.html websites/staging/sling/trunk/content/adapters.html websites/staging/sling/trunk/content/apache-sling-commons-thread-pool.html websites/staging/sling/trunk/content/apache-sling-community-roles-and-processes.html websites/staging/sling/trunk/content/apache-sling-eventing-and-job-handling.html websites/staging/sling/trunk/content/apache-sling.html websites/staging/sling/trunk/content/architecture.html websites/staging/sling/trunk/content/assembly.html websites/staging/sling/trunk/content/authentication---actors.html websites/staging/sling/trunk/content/authentication---authenticationhandler.html websites/staging/sling/trunk/content/authentication---framework.html websites/staging/sling/trunk/content/authentication---tasks.html websites/staging/sling/trunk/content/authentication.html websites/staging/sling/trunk/content/bundles.html websites/staging/sling/trunk/content/client-request-logging.html websites/staging/sling/trunk/content/commons-html-utilities.html websites/staging/sling/trunk/content/configuration.html websites/staging/sling/trunk/content/contributing.html websites/staging/sling/trunk/content/default-mapping-and-rendering.html websites/staging/sling/trunk/content/dependency-management.html websites/staging/sling/trunk/content/development.html websites/staging/sling/trunk/content/discover-sling-in-15-minutes.html websites/staging/sling/trunk/content/dispatching-requests.html websites/staging/sling/trunk/content/documentation.html websites/staging/sling/trunk/content/downloads.html websites/staging/sling/trunk/content/embedding-sling.html websites/staging/sling/trunk/content/errorhandling.html websites/staging/sling/trunk/content/eventing-and-jobs.html websites/staging/sling/trunk/content/filters.html websites/staging/sling/trunk/content/form-based-authenticationhandler.html websites/staging/sling/trunk/content/getting-and-building-sling.html websites/staging/sling/trunk/content/getting-resources-and-properties-in-sling.html websites/staging/sling/trunk/content/getting-started.html websites/staging/sling/trunk/content/groovy-support.html websites/staging/sling/trunk/content/guides.html websites/staging/sling/trunk/content/how-to-manage-events-in-sling.html websites/staging/sling/trunk/content/index.html websites/staging/sling/trunk/content/installing-and-upgrading-bundles.html websites/staging/sling/trunk/content/issue-tracker.html websites/staging/sling/trunk/content/jackrabbit-persistence.html websites/staging/sling/trunk/content/jcr-installer-provider.html websites/staging/sling/trunk/content/jspc.html websites/staging/sling/trunk/content/launch-sling.html websites/staging/sling/trunk/content/links.html websites/staging/sling/trunk/content/logging.html websites/staging/sling/trunk/content/mappings-for-resource-resolution.html websites/staging/sling/trunk/content/maven-archetypes.html websites/staging/sling/trunk/content/maven-launchpad-plugin.html websites/staging/sling/trunk/content/maventipsandtricks.html websites/staging/sling/trunk/content/media.html websites/staging/sling/trunk/content/monitoring-requests.html websites/staging/sling/trunk/content/navigation.html websites/staging/sling/trunk/content/news.html websites/staging/sling/trunk/content/old-stuff.html websites/staging/sling/trunk/content/openid-authenticationhandler.html websites/staging/sling/trunk/content/osgi-installer.html websites/staging/sling/trunk/content/plugins.html websites/staging/sling/trunk/content/project-information.html websites/staging/sling/trunk/content/project-license.html websites/staging/sling/trunk/content/project-team.html websites/staging/sling/trunk/content/release-management.html websites/staging/sling/trunk/content/repository-based-development.html websites/staging/sling/trunk/content/request-listeners.html websites/staging/sling/trunk/content/request-parameters.html websites/staging/sling/trunk/content/request-processing.html websites/staging/sling/trunk/content/resources.html websites/staging/sling/trunk/content/scriptengineintegration.html websites/staging/sling/trunk/content/security.html websites/staging/sling/trunk/content/servlet-resolution.html websites/staging/sling/trunk/content/servlets.html websites/staging/sling/trunk/content/sling-api.html websites/staging/sling/trunk/content/sling-testing-tools.html websites/staging/sling/trunk/content/sling.html websites/staging/sling/trunk/content/the-sling-engine.html websites/staging/sling/trunk/content/the-sling-engine/sling-properties.html websites/staging/sling/trunk/content/the-sling-launchpad.html websites/staging/sling/trunk/content/url-decomposition.html websites/staging/sling/trunk/content/version-policy.html websites/staging/sling/trunk/content/web-console-extensions.html websites/staging/sling/trunk/content/wiki.html websites/staging/sling/trunk/content/wrap-or-decorate-resources.html websites/staging/sling/trunk/content/xslt-processing-pipeline.html Propchange: websites/staging/sling/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Sun May 20 15:29:12 2012 @@ -1 +1 @@ -1340751 +1340753 Modified: websites/staging/sling/trunk/content/46-line-blog.html ============================================================================== --- websites/staging/sling/trunk/content/46-line-blog.html (original) +++ websites/staging/sling/trunk/content/46-line-blog.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
@@ -147,9 +147,9 @@ the node that was just created).

-

{{/apps/blog/blog.esp}} {footnote}ESP is Sling's server-side javascript +

{footnote}ESP is Sling's server-side javascript language{footnote} in the Sling repository - a WebDAV mount is the easiest -way to do that. Browsing to {{http://localhost:8888/content/blog/*.html}} +way to do that. Browsing to {footnote} This assumes your instance of Sling is running on port 8888. If that's not the case, adjust the example URLs accordingly. {footnote} should display the above form.

@@ -181,7 +181,7 @@ fix that right away.

-

data at {{http://localhost:8888/content/blog/foo.tidy.json}}, which should +

data at , which should display our new node's values:

{code:javascript}
 {
@@ -202,7 +202,7 @@ the existing  of course:<
 
   
 

-
And add the {{Sling.wizard()}} after the form, where we had the _code of
+
And add the  after the form, where we had the _code of
 
@@ -241,18 +241,17 @@ that was added in step 2:

}

-
The first link to {{/content/blog/*}} brings us back to our content
+
The first link to  brings us back to our content
 

creating form, which is nothing else than the editing form reading empty values and posting to the "magic star" URL.

-
The rest of the javascript runs client-side, as it is not embedded in {{<%
+
The rest of the javascript runs client-side, as it is not embedded in  code markers, calls the  method to get two levels
 
-

%>}} code markers, calls the {{sling.getContent}} method to get two levels -of node data below {{/content/blog}}, and displays links to nodes that it +

of node data below , and displays links to nodes that it finds.

That's a basic navigation, of course, in a real blog we'd need some paging
 
@@ -274,7 +273,7 @@ whitespace and output formatting.

just add an input field to the form, and Sling will do the rest.

-
Adding this inside our script's {{<form>}} element, for example:
+
Adding this inside our script's  element, for example:
 
 {code:html}
 <br/>Author:<br/>

Modified: websites/staging/sling/trunk/content/adapters.html
==============================================================================
--- websites/staging/sling/trunk/content/adapters.html (original)
+++ websites/staging/sling/trunk/content/adapters.html Sun May 20 15:29:12 2012
@@ -48,7 +48,7 @@
 API docs 
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/apache-sling-commons-thread-pool.html ============================================================================== --- websites/staging/sling/trunk/content/apache-sling-commons-thread-pool.html (original) +++ websites/staging/sling/trunk/content/apache-sling-commons-thread-pool.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/apache-sling-community-roles-and-processes.html ============================================================================== --- websites/staging/sling/trunk/content/apache-sling-community-roles-and-processes.html (original) +++ websites/staging/sling/trunk/content/apache-sling-community-roles-and-processes.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/apache-sling-eventing-and-job-handling.html ============================================================================== --- websites/staging/sling/trunk/content/apache-sling-eventing-and-job-handling.html (original) +++ websites/staging/sling/trunk/content/apache-sling-eventing-and-job-handling.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/apache-sling.html ============================================================================== --- websites/staging/sling/trunk/content/apache-sling.html (original) +++ websites/staging/sling/trunk/content/apache-sling.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/architecture.html ============================================================================== --- websites/staging/sling/trunk/content/architecture.html (original) +++ websites/staging/sling/trunk/content/architecture.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/assembly.html ============================================================================== --- websites/staging/sling/trunk/content/assembly.html (original) +++ websites/staging/sling/trunk/content/assembly.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/authentication---actors.html ============================================================================== --- websites/staging/sling/trunk/content/authentication---actors.html (original) +++ websites/staging/sling/trunk/content/authentication---actors.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/authentication---authenticationhandler.html ============================================================================== --- websites/staging/sling/trunk/content/authentication---authenticationhandler.html (original) +++ websites/staging/sling/trunk/content/authentication---authenticationhandler.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/authentication---framework.html ============================================================================== --- websites/staging/sling/trunk/content/authentication---framework.html (original) +++ websites/staging/sling/trunk/content/authentication---framework.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/authentication---tasks.html ============================================================================== --- websites/staging/sling/trunk/content/authentication---tasks.html (original) +++ websites/staging/sling/trunk/content/authentication---tasks.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/authentication.html ============================================================================== --- websites/staging/sling/trunk/content/authentication.html (original) +++ websites/staging/sling/trunk/content/authentication.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/bundles.html ============================================================================== --- websites/staging/sling/trunk/content/bundles.html (original) +++ websites/staging/sling/trunk/content/bundles.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/client-request-logging.html ============================================================================== --- websites/staging/sling/trunk/content/client-request-logging.html (original) +++ websites/staging/sling/trunk/content/client-request-logging.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
@@ -96,9 +96,7 @@ Admin configuration.

to enter the configuration whose properties can be configured as follows:

-
Parameter Name Default Description
Request Log Name *request.log.output* Name of the destination for the request log. The request log logs the entry and exit of each request into and out of the system together with the entry time, exit time, time to process the request, a request counter as well as the final status code and response content type. In terms of Request Logger Service formats, request entry is logged with the format {{%t \[%R](%r.html) - \-> %m %U%q %H}} and request exit is logged with the format {{%\{end}t -\[%R] <\- %s %\{Content-Type}o %Dms}} (See [#Log Format Specification] +
Request Log Name *request.log.output* Name of the destination for the request log. The request log logs the entry and exit of each request into and out of the system together with the entry time, exit time, time to process the request, a request counter as well as the final status code and response content type. In terms of Request Logger Service formats, request entry is logged with the format and request exit is logged with the format (See [#Log Format Specification] below for the specification of the format).
Request Log Type *request.log.outputtype* Type of Logger named with the Logger Name parameter. See [#Log Output](#log-output.html) @@ -108,8 +106,7 @@ logging or not.
Access Log Name *access.log.output* Name of the destination for the access log. The access log writes an entry for each request as the request terminates using the NCSA extended/combined log format. In terms of Request -Logger Service formats the access log is written with the format {{%h %l %u -%t "%r" %>s %b "%\{Referer}i" "%\{User-Agent}i"}} (See [#Log Format Specification](#log-format-specification.html) +Logger Service formats the access log is written with the format (See [#Log Format Specification](#log-format-specification.html) below for the specification of the format).
Access Log Type *access.log.outputtype* Type of Logger named with the Logger Name parameter. See [#Log Output](#log-output.html) Modified: websites/staging/sling/trunk/content/commons-html-utilities.html ============================================================================== --- websites/staging/sling/trunk/content/commons-html-utilities.html (original) +++ websites/staging/sling/trunk/content/commons-html-utilities.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/configuration.html ============================================================================== --- websites/staging/sling/trunk/content/configuration.html (original) +++ websites/staging/sling/trunk/content/configuration.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/contributing.html ============================================================================== --- websites/staging/sling/trunk/content/contributing.html (original) +++ websites/staging/sling/trunk/content/contributing.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/default-mapping-and-rendering.html ============================================================================== --- websites/staging/sling/trunk/content/default-mapping-and-rendering.html (original) +++ websites/staging/sling/trunk/content/default-mapping-and-rendering.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/dependency-management.html ============================================================================== --- websites/staging/sling/trunk/content/dependency-management.html (original) +++ websites/staging/sling/trunk/content/dependency-management.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/development.html ============================================================================== --- websites/staging/sling/trunk/content/development.html (original) +++ websites/staging/sling/trunk/content/development.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/discover-sling-in-15-minutes.html ============================================================================== --- websites/staging/sling/trunk/content/discover-sling-in-15-minutes.html (original) +++ websites/staging/sling/trunk/content/discover-sling-in-15-minutes.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/dispatching-requests.html ============================================================================== --- websites/staging/sling/trunk/content/dispatching-requests.html (original) +++ websites/staging/sling/trunk/content/dispatching-requests.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/documentation.html ============================================================================== --- websites/staging/sling/trunk/content/documentation.html (original) +++ websites/staging/sling/trunk/content/documentation.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/downloads.html ============================================================================== --- websites/staging/sling/trunk/content/downloads.html (original) +++ websites/staging/sling/trunk/content/downloads.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/embedding-sling.html ============================================================================== --- websites/staging/sling/trunk/content/embedding-sling.html (original) +++ websites/staging/sling/trunk/content/embedding-sling.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
@@ -186,8 +186,7 @@ to the socket asking for status), and sh asking for shutdown).

-

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 {{String -}} and calls the Main.main method. To allow for custom embeddings or +

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 and calls the Main.main method. To allow for custom embeddings or extensions, the work distriubtions between the three classes should be refactored.

@@ -250,8 +249,7 @@ connection the server is queried on its

Conversion of Commandline Arguments to Properties

-

When calling the Main class through the JVM startup the {{Main.main(String - args)}} methods is called which reads the command line arguments and +

When calling the Main class through the JVM startup the methods is called which reads the command line arguments and converts them into a Map suitable for the constructore as follows:

Modified: websites/staging/sling/trunk/content/errorhandling.html ============================================================================== --- websites/staging/sling/trunk/content/errorhandling.html (original) +++ websites/staging/sling/trunk/content/errorhandling.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
@@ -95,8 +95,7 @@ selected and what is provided out of the

HTTP Status Codes

The Sling engine implements the HttpServletResponse.sendError methods -by calling the {{ErrorHandler.handleError(int status, String message, -SlingHttpServletRequest request, SlingHttpServletResponse response)}} +by calling the method.

The Servlet Resolver bundle implementation looks up a script to handle the status code as follows:

Modified: websites/staging/sling/trunk/content/eventing-and-jobs.html ============================================================================== --- websites/staging/sling/trunk/content/eventing-and-jobs.html (original) +++ websites/staging/sling/trunk/content/eventing-and-jobs.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/filters.html ============================================================================== --- websites/staging/sling/trunk/content/filters.html (original) +++ websites/staging/sling/trunk/content/filters.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
@@ -96,8 +96,7 @@ implement this interface.

processing two service registration properties are inspected:

- parameter - +
Property Type Default Value Valid Values Description
*sling.filter.scope* *String*, {{String[](.html) -}} or *Vector* *request* *REQUEST*, *INCLUDE*, +
*sling.filter.scope* *String*, or *Vector* *request* *REQUEST*, *INCLUDE*, *FORWARD*, *ERROR*, *COMPONENT* Indication of which chain the filter should be added to. This property is required. If it is missing from the service, the service is ignored because it is assumed another consumer Modified: websites/staging/sling/trunk/content/form-based-authenticationhandler.html ============================================================================== --- websites/staging/sling/trunk/content/form-based-authenticationhandler.html (original) +++ websites/staging/sling/trunk/content/form-based-authenticationhandler.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
Modified: websites/staging/sling/trunk/content/getting-and-building-sling.html ============================================================================== --- websites/staging/sling/trunk/content/getting-and-building-sling.html (original) +++ websites/staging/sling/trunk/content/getting-and-building-sling.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
Wiki
FAQ
-

+Site Map

Project info
Downloads
License
@@ -119,8 +119,7 @@ building Sling.

Java Heap Space

*ServletRequest.getParameterValues(String)* Returns all parameters of that name
*ServletRequest.getParameterMap()* Returns all parameters as a map of {{String[](.html) -}}
*ServletRequest.getParameterMap()* Returns all parameters as a map of
*ServletRequest.getParameterNames()* Returns an enumeration of the names of the parameters
@@ -180,8 +179,7 @@ was generated with ISO-8859-1 e parameters as follows:

  • All names of the parameters are re-encoded
  • -
  • 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 {{byte -}} where the conversion to a string is done on the fly (and yes, the +
  • 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 where the conversion to a string is done on the fly (and yes, the conversion using the _charset_ character encoding is of course cached for performance reasons)
  • If the parameter is an uploaded file, the file name is re-encoded on Modified: websites/staging/sling/trunk/content/request-processing.html ============================================================================== --- websites/staging/sling/trunk/content/request-processing.html (original) +++ websites/staging/sling/trunk/content/request-processing.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
    Wiki
    FAQ
    -

    +Site Map

    Project info
    Downloads
    License
    @@ -91,8 +91,7 @@ processing requests inside Sling.

    Core Request Processing

    The HTTP request enters Sling in the -{{org.apache.sling.core.ComponentRequestHandlerImpl.service(ServletRequest -req, ServletResponse res)}} method as the ComponentRequestHandlerImpl + method as the ComponentRequestHandlerImpl is registered as the Servlet handling HTTP requests. This method sets up the initial ComponentRequest and ComponentResponse objects and hands the request over to the first ComponentFilterChain. This first Modified: websites/staging/sling/trunk/content/resources.html ============================================================================== --- websites/staging/sling/trunk/content/resources.html (original) +++ websites/staging/sling/trunk/content/resources.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
    Wiki
    FAQ
    -

    +Site Map

    Project info
    Downloads
    License
    @@ -102,8 +102,7 @@ as path components of request URLs - to external paths usable in an URL a third method map(String) is defined, which allows for round-tripping. Absolute or Relative Path Resolution (including search path): The -getResource(String path) and {{getResource(Resource base, String -path)}} methods may be used to access a resource with an absolute path +getResource(String path) and methods may be used to access a resource with an absolute path directly. If it can't be found the path is assumed to be relative and the search path retrieved from getSearchPath() is used to retrieve the resource. This mechanism is similar to resolving a programm with the @@ -141,8 +140,7 @@ method fails and returns:

    • The resolve(String) and resolve(HttpServletRequest,String) methods return a NonExistingResource
    • -
    • The getResource(String path) and {{getResource(Resource base, String -path)}} methods return null
    • +
    • The getResource(String path) and methods return null

    The virtual path mapping may be used to create shortcut URLs for otherwise long and complicated URLs. An example of such an URL might be the main @@ -179,8 +177,7 @@ defined implementation.

    For convenience the ResourceResolver provides two Resource querying methods findResources and queryResources both methods take as arguments a JCR query string and a query language name. These parameters -match the parameter definition of the {{QueryManager.createQuery(String -statement, String language)}} method of the JCR API.

    +match the parameter definition of the method of the JCR API.

    The return value of these two methods differ in the use case: findResources returns an Iteratory of all Resources matching the query. This method is comparable to calling getNodes() on Modified: websites/staging/sling/trunk/content/scriptengineintegration.html ============================================================================== --- websites/staging/sling/trunk/content/scriptengineintegration.html (original) +++ websites/staging/sling/trunk/content/scriptengineintegration.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
    Wiki
    FAQ
    -

    +Site Map

    Project info
    Downloads
    License
    Modified: websites/staging/sling/trunk/content/security.html ============================================================================== --- websites/staging/sling/trunk/content/security.html (original) +++ websites/staging/sling/trunk/content/security.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
    Wiki
    FAQ
    -

    +Site Map

    Project info
    Downloads
    License
    Modified: websites/staging/sling/trunk/content/servlet-resolution.html ============================================================================== --- websites/staging/sling/trunk/content/servlet-resolution.html (original) +++ websites/staging/sling/trunk/content/servlet-resolution.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
    Wiki
    FAQ
    -

    +Site Map

    Project info
    Downloads
    License
    Modified: websites/staging/sling/trunk/content/servlets.html ============================================================================== --- websites/staging/sling/trunk/content/servlets.html (original) +++ websites/staging/sling/trunk/content/servlets.html Sun May 20 15:29:12 2012 @@ -48,7 +48,7 @@ API docs
    Wiki
    FAQ
    -

    +Site Map

    Project info
    Downloads
    License