Why would this require two runs.
The data of depth could be collected while iterating through the levels. It
would require some adjustments like prefetching for the current level to
check if the result would get too big but appending this list to the other
list should be a cheap operation.
Best
I think, if you wanted to modify the response which is being streamed and may
have already been committed then you would need to know in advance. However if
the indication that the results were truncated was in the response itself (ie
add a continuation URL) then a single pass is probably all
Sure, this would require no direct streaming but buffering the result. But
this would always be mandatory if the response code should vary from the
determinded data. My idea was to collect data (prepare the response, not
writing in the response) and check for depth in the same run.
For HTTP this
[
https://issues.apache.org/jira/browse/SLING-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz updated SLING-1285:
---
Description:
Trying to start the launchpad/app jar under Windows says:
Launchpad does not start under windows (launchpad.base.jar is not accessible)
-
Key: SLING-1285
URL: https://issues.apache.org/jira/browse/SLING-1285
Project: Sling
+1 to the registering PostProcessor for specific resource types.
I'm less sure of registering by property name and modification type,
mostly because you'll still need to iterate through the modification
list. Also, it seems like there could be ambiguous cases, e.g. If I
register a
Mike Müller wrote:
Nobody seems to be willing to burn his finger on this topic,
nevertheless I try to jump in the hot pot...
Hehe, thanks!
If the following is given and we talk about the same request
Resource a = resolver.getResource(/a/b);
Resource b = resolver.getResource(/a/b);
I
On Jan 14, 2010, at 7:30 AM, Vidar Ramdal vi...@idium.no wrote:
I often write PostProcessors to catch a modification to a resource or
property based on certain criteria.
[...]
On Thu, Jan 14, 2010 at 3:40 PM, Justin Edelson justinedel...@gmail.com wrote:
+1 to the registering PostProcessor
My initial reaction was basically what Mike wrote.
But the more I think about it, the more I'm on the fence about:
resolver.getResource(/a/b) == resolver.getResource(/a/b)
My first instinct was basically what Mike wrote, this can be true, but isn't
required to be so. But the more I think about
On Thu, Jan 14, 2010 at 10:03 AM, Vidar Ramdal vi...@idium.no wrote:
On Jan 14, 2010, at 7:30 AM, Vidar Ramdal vi...@idium.no wrote:
I often write PostProcessors to catch a modification to a resource or
property based on certain criteria.
[...]
On Thu, Jan 14, 2010 at 3:40 PM, Justin
Warning with invalid path during compilation
Key: SLING-1286
URL: https://issues.apache.org/jira/browse/SLING-1286
Project: Sling
Issue Type: Bug
Components: Scripting
Affects
[
https://issues.apache.org/jira/browse/SLING-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-1286.
-
Resolution: Fixed
Fixed in Revision: 899552
Warning with invalid path during
12 matches
Mail list logo