Re: [jira] Commented: (SLING-1172) Allow uploading JSON files to create content structures

2010-02-10 Thread Alexander Klimetschek
. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1172) Allow uploading JSON files to create content structures

2010-01-28 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12805946#action_12805946 ] Alexander Klimetschek commented on SLING-1172: -- I think it's actually about

Re: TRACE method

2010-01-28 Thread Alexander Klimetschek
by default. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: TRACE method

2010-01-28 Thread Alexander Klimetschek
. Whoever does that in his custom app, and provides an implementation of TRACE, should handle that himself. IIUC, that bypasses all the normal Jetty config which is why TRACE gets through in the first instance. Isn't Jetty calling the OSGi http service? Regards, Alex -- Alexander Klimetschek

Re: Let SlingPostServlet return JSON (WAS: Re: Client JSon Calls)

2010-01-27 Thread Alexander Klimetschek
the json get servlet to allow for round trips. The sling json content loader mechanism (used upon bundle installation) might be used for that. Although that is a somewhat separate discussion for https://issues.apache.org/jira/browse/SLING-1172 Regards, Alex -- Alexander Klimetschek alexander.klimetsc

[jira] Commented: (SLING-1308) Node.infinity.json contains risk for DOS.

2010-01-21 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12803248#action_12803248 ] Alexander Klimetschek commented on SLING-1308: -- Just to clarify: this patch

Re: Disabling node.infinity.json

2010-01-20 Thread Alexander Klimetschek
client would need to handle it manually anyway to get all the json he wants, if there is a limit. For example, requesting /.infinity.json or /.4.json where the limit is at /.2.json requires him to fetch the content level-by-level anyway... Regards, Alex -- Alexander Klimetschek alexander.klimetsc

Re: [RT] Identity of resources and adaptables

2010-01-15 Thread Alexander Klimetschek
handling this across multiple threads? There is a good reason why the JCR spec decided to state a.equals(b) and internal state represented as equal, but not a == b. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: [RT] Making the resource resolution more pluggable

2009-12-15 Thread Alexander Klimetschek
IMO work well for your and many other scenarios. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Runmode support for /etc/map configuration

2009-12-10 Thread Alexander Klimetschek
config.runmode1 = mapping.location = /etc/map/runmode1 config.runmode2 = mapping.location = /etc/map/runmode2 etc. that cry for automation ;-) Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Runmode support for /etc/map configuration

2009-12-10 Thread Alexander Klimetschek
). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Runmode support for /etc/map configuration

2009-12-10 Thread Alexander Klimetschek
On Thu, Dec 10, 2009 at 12:27, Felix Meschberger fmesc...@gmail.com wrote: Alexander Klimetschek schrieb: I also think that the merging for my proposed case isn't that difficult: you just walk the tree below /etc/map as it is done now and apply things for the runmode they are in (defined

Re: Runmode support for /etc/map configuration

2009-12-10 Thread Alexander Klimetschek
On Thu, Dec 10, 2009 at 14:47, Felix Meschberger fmesc...@gmail.com wrote: Ehrm, this is exactly, what I am proposing as Option 2 ... (more or less). Yes, as I pointed out, the only difference are the empty folders, at the top level, right below /etc/map. Regards, Alex -- Alexander

Re: Runmode support for /etc/map configuration

2009-12-10 Thread Alexander Klimetschek
outside by jcr install - Configs - config admin does not know about run modes - again jcr install And we should continue this route. You are right, adding such a new dependency creates probably more issues than having to explicitly configure that for various runmodes. Regards, Alex -- Alexander

Re: Runmode support for /etc/map configuration

2009-12-10 Thread Alexander Klimetschek
value used easily, for example via a console plugin and/or INFO log messages. There already exists such a web console plugin at /system/console/jcrresolver which would just have to display this path. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1206) Sling Post servlet incorrectly parses ISO8601 date formats with timezone offset (as used by JCR)

2009-12-08 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12787766#action_12787766 ] Alexander Klimetschek commented on SLING-1206: -- What is missing to resolve

[jira] Commented: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12785883#action_12785883 ] Alexander Klimetschek commented on SLING-1219: -- If you provide an absolute

[jira] Commented: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-04 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12785898#action_12785898 ] Alexander Klimetschek commented on SLING-1219: -- How about better description

[jira] Created: (SLING-1218) JcrResourceResolver.map() does not return proper escaped URIs

2009-12-02 Thread Alexander Klimetschek (JIRA)
Components: JCR Affects Versions: JCR Resource 2.0.6 Reporter: Alexander Klimetschek The JcrResourceResolver's map() methods do not escape the URIs that are returned (as string). For example, a path with spaces (which is valid in JCR) such as /content/path/with spaces.jpg

[jira] Updated: (SLING-1218) JcrResourceResolver.map() does not return proper escaped URIs

2009-12-02 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1218: - Description: The JcrResourceResolver's map() methods do not escape the URIs

[jira] Updated: (SLING-1218) JcrResourceResolver.map() does not return proper escaped URIs

2009-12-02 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1218: - Attachment: SLING-1218.patch Attaching patch that solves the issue by using

[jira] Issue Comment Edited: (SLING-1218) JcrResourceResolver.map() does not return proper escaped URIs

2009-12-02 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12784902#action_12784902 ] Alexander Klimetschek edited comment on SLING-1218 at 12/2/09 5:06 PM

[jira] Issue Comment Edited: (SLING-1218) JcrResourceResolver.map() does not return proper escaped URIs

2009-12-02 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12784902#action_12784902 ] Alexander Klimetschek edited comment on SLING-1218 at 12/2/09 5:07 PM

[jira] Updated: (SLING-1219) Map test in JCR Resource Resolver web console plugin is not reflecting all cases

2009-12-02 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1219: - Attachment: SLING-1219.patch Patch that adds another map button, so

Re: [VOTE] Release commons compiler, html, jcr compiler, prefs and scripting java

2009-11-30 Thread Alexander Klimetschek
Compiler 1.0.0 First release JCR Compiler 1.0.0 First release JCR Prefs 1.0.0 First release Scripting Java 1.0.0 First release +1 (Note: non committer vote not tested, but in favor of getting releases out!) Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Created: (SLING-1206) Sling Post servlet incorrectly parses ISO8601 date formats with timezone offset (as used by JCR)

2009-11-26 Thread Alexander Klimetschek (JIRA)
-1206 Project: Sling Issue Type: Bug Components: Servlets Affects Versions: Servlets Post 2.0.2, Servlets Post 2.0.4 Reporter: Alexander Klimetschek Priority: Minor An ISO8601 date format, as it is returned by javax.jcr.Property.getString

Re: Version Numbers

2009-11-17 Thread Alexander Klimetschek
we make it harder for users, not easier as Felix's goal righteously is. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Version Numbers

2009-11-17 Thread Alexander Klimetschek
, but it's more natural for people new to osgi). +1 for testing it with the sling api bundle. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Consolidation the testing bundles

2009-11-17 Thread Alexander Klimetschek
bundles? In that case we definitely have a circular dependency and must keep both split. Otherwise we can merge them and move them out. The SlingTestHelper itself should never grow to have more dependencies than just that of the (few) core bundles. Regards, Alex -- Alexander Klimetschek

Re: Consolidation the testing bundles

2009-11-17 Thread Alexander Klimetschek
example on the Sling website on how to do (smaller) integration tests with sling and pax exam in addition to full Sling integration tests (as done by Bertrand, with http interface testing). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: file upload with metadata

2009-11-17 Thread Alexander Klimetschek
be input type=hidden name=./jcr:primaryType value=my:file because once you use ./ in any parameter, the Sling post servlet will ignore all parameters that don't start with ./. This is dirty little trick to automatically ignore foreign and unwanted parameters. Regards, Alex -- Alexander

Re: How to Integrate Axis2 with Sling 5

2009-11-16 Thread Alexander Klimetschek
to other bundles. For non-bundleized jars this means some up-front manual work. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: How to Integrate Axis2 with Sling 5

2009-11-13 Thread Alexander Klimetschek
that as a bundle. You can use the Felix web management console (/system/console/bundles). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Consolidation the testing bundles

2009-11-13 Thread Alexander Klimetschek
exactly. Probably api, jcr.api or jcr.resource, which are used by slingtest, use commons/testing themselves. If moving out of commons would solve this somehow, +1 for merging them back. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: How to Integrate Axis2 with Sling 5

2009-11-12 Thread Alexander Klimetschek
/site/apache-felix-maven-bundle-plugin-bnd.html Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1180) Add default HEAD servlet

2009-11-11 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12776404#action_12776404 ] Alexander Klimetschek commented on SLING-1180: -- This acts as a wrapper

[jira] Commented: (SLING-1178) Preserve request parameter order throughout the entire request stack

2009-11-11 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12776407#action_12776407 ] Alexander Klimetschek commented on SLING-1178: -- ok. i agree that the servlet

[jira] Created: (SLING-1166) Provide helper class for simpler unit testing of sling code

2009-10-30 Thread Alexander Klimetschek (JIRA)
Components: Testing Reporter: Alexander Klimetschek When writing unit tests that do a bit of integration in Sling, you often need the following: - a JCR repository - registered node types - a JCR-based resource resolver - adapter managers (to support all the adaptTo methods in your

[jira] Updated: (SLING-1166) Provide helper class for simpler unit testing of sling code

2009-10-30 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1166: - Attachment: SLING-1166.patch Patch that adds a SlingTestHelper with various test

[jira] Updated: (SLING-1131) i18n: do not enforce a flat node hierarchy below mix:language

2009-10-30 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1131: - Attachment: SLING-1131-second-with-tests.patch Patch against current svn

[jira] Issue Comment Edited: (SLING-1131) i18n: do not enforce a flat node hierarchy below mix:language

2009-10-28 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12770902#action_12770902 ] Alexander Klimetschek edited comment on SLING-1131 at 10/28/09 11:54 AM

[jira] Commented: (SLING-1131) i18n: do not enforce a flat node hierarchy below mix:language

2009-10-28 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12770916#action_12770916 ] Alexander Klimetschek commented on SLING-1131: -- the RepositoryTestBase class

[jira] Resolved: (SLING-1123) Atom Taglib: ids have wrong escaping

2009-10-27 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek resolved SLING-1123. -- Resolution: Duplicate Atom Taglib: ids have wrong escaping

[jira] Commented: (SLING-1013) Feed Entry IDs are URL-encoded

2009-10-27 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12770448#action_12770448 ] Alexander Klimetschek commented on SLING-1013: -- This is about the Atom Taglib

Re: curl command to checkin

2009-10-26 Thread Alexander Klimetschek
On Mon, Oct 26, 2009 at 10:04, Ian Boston i...@tfd.co.uk wrote: We (Sakai) has implemented a versioning bundle [1]. I think the link got lost. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Updated: (SLING-1131) i18n: do not enforce a flat node hierarchy below mix:language

2009-10-26 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1131: - Attachment: SLING-1131.patch Patch for contrib/extensions/i18n that changes

[jira] Updated: (SLING-1131) i18n: do not enforce a flat node hierarchy below mix:language

2009-10-26 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1131: - Attachment: (was: SLING-1131.patch) i18n: do not enforce a flat node

Re: [jira] Commented: (SLING-1137) Support hierarchical child node creation from SlingPostServlet

2009-10-08 Thread Alexander Klimetschek
a new URL space is created by some application. Or teach the UI developers about content modeling and provide them with simple APIs to avoid flat or hash-based hierarchies. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-864) Parse path info for NonExistingResource

2009-10-07 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762961#action_12762961 ] Alexander Klimetschek commented on SLING-864: - @Carsten: could you also add

[jira] Commented: (SLING-864) Parse path info for NonExistingResource

2009-10-07 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12763001#action_12763001 ] Alexander Klimetschek commented on SLING-864: - If you look at it, the patch

[jira] Commented: (SLING-1137) Support hierarchical child node creation from SlingPostServlet

2009-10-07 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12763058#action_12763058 ] Alexander Klimetschek commented on SLING-1137: -- I would refrain from building

Re: [jira] Commented: (SLING-1137) Support hierarchical child node creation from SlingPostServlet

2009-10-07 Thread Alexander Klimetschek
On Wed, Oct 7, 2009 at 16:48, Ian Boston i...@tfd.co.uk wrote: On 7 Oct 2009, at 14:50, Alexander Klimetschek (JIRA) wrote: I would refrain from building in an automatic mechanism that creates hash-based paths because they are bad ;-) Could you elaborate on why they are bad in the JCR

Re: Doing a query based on partial nodenames.

2009-10-05 Thread Alexander Klimetschek
on the node name, but not for wildcards. I think the new JQOM in JCR 2.0 supports that better, but I don't know how the query would like exactly. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1127) Typo on start page: remmber - remember

2009-10-01 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12761164#action_12761164 ] Alexander Klimetschek commented on SLING-1127: -- The typo is fixed. I guess

Re: Doing a query based on partial nodenames.

2009-10-01 Thread Alexander Klimetschek
-- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Updated: (SLING-1131) i18n: do not enforce a flat node hierarchy mix:language

2009-09-30 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Klimetschek updated SLING-1131: - Component/s: Extensions Priority: Minor (was: Major

[jira] Commented: (SLING-864) Parse path info for NonExistingResource

2009-09-29 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12760606#action_12760606 ] Alexander Klimetschek commented on SLING-864: - +1 for Felix's patch Parse path

Re: [jira] Resolved: (SLING-788) Provide /etc/cron.d/ style approach to scripting timed events

2009-09-28 Thread Alexander Klimetschek
. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1014) Atom JSP Taglib bundle needs manual re-activation in Felix console before the Abdera object is available

2009-09-24 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12759236#action_12759236 ] Alexander Klimetschek commented on SLING-1014: -- I am using the bundle

[jira] Created: (SLING-1123) Atom Taglib: ids have wrong escaping

2009-09-24 Thread Alexander Klimetschek (JIRA)
Atom Taglib: ids have wrong escaping Key: SLING-1123 URL: https://issues.apache.org/jira/browse/SLING-1123 Project: Sling Issue Type: Bug Components: Scripting Reporter: Alexander

Re: Applying SLING-864

2009-09-23 Thread Alexander Klimetschek
at the virtual resource path, or any other part of the rest the full URI. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Applying SLING-864

2009-09-23 Thread Alexander Klimetschek
On Wed, Sep 23, 2009 at 13:08, Vidar Ramdal vi...@idium.no wrote: On Wed, Sep 23, 2009 at 12:32 PM, Alexander Klimetschek aklim...@day.com wrote: For c2) this means there cannot be a resource at the virtual resource path, or any other part of the rest the full URI. Just to check if I

Re: Applying SLING-864

2009-09-23 Thread Alexander Klimetschek
the NonExistingResource class clean. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Applying SLING-864

2009-09-21 Thread Alexander Klimetschek
type might be changed, but this is what this patch is all about - make them simpler and more capable. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: SLING-485: Use JSON library from json.org

2009-09-21 Thread Alexander Klimetschek
will serialize a JCR Date object (java.util.Calendar) as String in the (standard) Javascript/ECMA Date format, so that it can be easily parsed on the client side: new SimpleDateFormat(EEE MMM dd HH:mm:ss 'GMT'Z, Locale.US) Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: authorization headers

2009-09-18 Thread Alexander Klimetschek
it publicly available. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1116) FORM Based Authentication

2009-09-18 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12757131#action_12757131 ] Alexander Klimetschek commented on SLING-1116: -- IIUC, using a cookie instead

Re: WebKit HTTP Authentication

2009-09-17 Thread Alexander Klimetschek
. If the community feels this should be a core service, I will make an attempt at writing a more generic solution and provide a patch back to sling. -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: authorization headers

2009-09-17 Thread Alexander Klimetschek
HTTP basic auth... if that does not work it can be considered a real browser bug. If yes, I'd suggest documenting this as a simple way of managing authentication for Sling, without requiring any extensions. Good idea. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: authorization headers

2009-09-16 Thread Alexander Klimetschek
to pass in the credentials while avoiding the (ugly) browser login dialog will fail there. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Extending the json renderer

2009-09-16 Thread Alexander Klimetschek
in the default json output of Sling. For nodes, one can rely on the order in the JSON. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: ItemNotFoundException, repository corrupted?

2009-09-10 Thread Alexander Klimetschek
-- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Sling Asterisk Node Names

2009-08-27 Thread Alexander Klimetschek
On Thu, Aug 27, 2009 at 8:33 AM, Peter Chiochettip...@myzel.net wrote: Am 2009-08-25 14:54, schrieb Alexander Klimetschek: So setting :name should force the post servlet to do 1. only. If it behaves differently, it's a bug. Well, then I have found a bug. Sorry, I cannot provide a patch

Re: Sling Asterisk Node Names

2009-08-27 Thread Alexander Klimetschek
On Thu, Aug 27, 2009 at 12:28 PM, Peter Chiochettip...@myzel.net wrote: I created https://issues.apache.org/jira/browse/SLING-1091 Thanks! Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: ESP, sling.include and variable scope

2009-08-26 Thread Alexander Klimetschek
in certain cases (which would rather explain an undefined var error). Nevertheless, I think you should debug that further, because I think it needs more information to pin-point the real issue. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: sling.include cleansing URI?

2009-08-25 Thread Alexander Klimetschek
-- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Dispatching in POST requests like in GET

2009-08-17 Thread Alexander Klimetschek
- namics ag - ein Unternehmen der PubliGroupe Teufenerstrasse 19 CH-9000 St. Gallen http://www.namics.com http://blog.namics.com mailto: matthias.werm...@namics.com -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Servlet registration: sling.servlet.extensions ignored with default resource type

2009-08-03 Thread Alexander Klimetschek
classes loaded from the repository. But this use case is still not supported, IIUC? Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Servlet registration: sling.servlet.extensions ignored with default resource type

2009-07-31 Thread Alexander Klimetschek
for all methods. [1] https://issues.apache.org/jira/browse/SLING-892 Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Beginner question: script resolution

2009-07-30 Thread Alexander Klimetschek
are not enough? Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Beginner question: script resolution

2009-07-30 Thread Alexander Klimetschek
but not so good for /content/new/a/file/that/was/hinted  where the name is a path, perhaps derived from the post. Yes, this use case must be handled on the client side (eg. Javascript in browsers), to set the path before the post. Regards, Alex -- Alexander Klimetschek alexander.klimetsc

Re: Exposing DB Data

2009-07-29 Thread Alexander Klimetschek
implementation you could implement adaptTo to elegantly get to the underlying JDBC connection or whatever the raw database access it and use that in your Database query servlet. [1] http://cwiki.apache.org/SLING/add-resourceresolverfactory-service-interface.html Regards, Alex -- Alexander

Re: Exposing DB Data

2009-07-29 Thread Alexander Klimetschek
)ValueMap pays off when you have generic servlets or scripts that should be able to handle both JCR and Database-based resources. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Beginner question: script resolution

2009-07-29 Thread Alexander Klimetschek
additional server-side handling of the post [3]. [1] https://issues.apache.org/jira/browse/SLING-1023 [2] http://markmail.org/message/52m32zh36ewo4xl2 [3] http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html Regards, Alex -- Alexander Klimetschek

Re: getting a jcr node from sling without the request

2009-07-23 Thread Alexander Klimetschek
session) { ResourceResolver resolver = jcrResourceResolverFactory.getResourceResolver(session); Resource res = resolver.getResource(/some/path); } Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

[jira] Commented: (SLING-1059) Mime Type Detection for WebDAV should use Apache Tika

2009-07-22 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12734057#action_12734057 ] Alexander Klimetschek commented on SLING-1059: -- I think the major improvement

Re: Versioning using the SlingPostServlet

2009-07-20 Thread Alexander Klimetschek
/checkout? (I'd rather get by without writing a servlet.) Of course, just use the JCR API in the esp. The post you mention already does it. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Selectors on non existent resources

2009-07-06 Thread Alexander Klimetschek
this (still open) bug with a patch to add selector support: https://issues.apache.org/jira/browse/SLING-864 Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Anyone opposed to applying SLING-864? (was: Selectors on non existent resources)

2009-07-06 Thread Alexander Klimetschek
On Mon, Jul 6, 2009 at 3:29 PM, Bertrand Delacretazbdelacre...@apache.org wrote: On Mon, Jul 6, 2009 at 2:13 PM, Ian Bostoni...@tfd.co.uk wrote: On 6 Jul 2009, at 11:01, Alexander Klimetschek wrote: ...See this (still open) bug with a patch to add selector support: https://issues.apache.org

Re: Anyone opposed to applying SLING-864? (was: Selectors on non existent resources)

2009-07-06 Thread Alexander Klimetschek
is distinctively marked: through the sling:nonexistent resource type (and all the other differences that come up when a resource does not exist yet). Therefore a special handling is IMHO ok. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Delete value in a multi-valued property

2009-07-01 Thread Alexander Klimetschek
is ignored in this case, but is there any way to do this? AFAIK you have to recreate the whole multivalue property, ie. post the full property again as an array of values but with the value missing that you want to delete. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

<    3   4   5   6   7   8