[RT] SlingHttpServletRequest.externalize() methods

2010-08-05 Thread Alexander Klimetschek
on the request object make sense, I think. See https://issues.apache.org/jira/browse/SLING-1629 for a patch. WDYT? Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
On Fri, Aug 6, 2010 at 10:24, Carsten Ziegeler cziege...@apache.org wrote: Alexander Klimetschek  wrote On Fri, Aug 6, 2010 at 08:10, Carsten Ziegeler cziege...@apache.org wrote: What about a helper class (static methods) or a jsp taglib? I was preferring them on the request, as you

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
On Fri, Aug 6, 2010 at 12:07, Carsten Ziegeler cziege...@apache.org wrote: Alexander Klimetschek  wrote Another reason for the prominent place is that it teaches people to do the right thing more easily. I have seen many cases that create links without considering context path or sling's

Re: [RT] SlingHttpServletRequest.externalize() methods

2010-08-06 Thread Alexander Klimetschek
(or decide via a flag) for generating relative URLs (what ResourceResolver.map(request, path) is doing). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: JCR Tools roundup

2010-08-10 Thread Alexander Klimetschek
-jackrabbit repository, neither through RMI nor transiently. I guess due to the lack of a standard connection mechanism in JCR 1.0? No, there has always been RMI. But a 1.0 client won't work with a 2.0 server. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
) is the way to go. I probably could also have a SlingPostOperation myself, instead of the servlet, but that one couldn't make use of all the built-in logic of the existing operations. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
On Thu, Aug 26, 2010 at 15:34, Alexander Klimetschek aklim...@day.com wrote: Then making all of them services (2) is the way to go. No, I meant (1), of course. Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
On Thu, Aug 26, 2010 at 16:52, Felix Meschberger fmesc...@gmail.com wrote: On 26.08.2010 15:34, Alexander Klimetschek wrote: On Thu, Aug 26, 2010 at 14:47, Felix Meschberger fmesc...@gmail.com wrote: Then the servlet looses a lot of control: - response handling Would it be helpful to be able

Re: Expose standard SlingPostOperations as services?

2010-08-26 Thread Alexander Klimetschek
On Thu, Aug 26, 2010 at 18:38, Alexander Klimetschek aklim...@day.com wrote: On Thu, Aug 26, 2010 at 16:52, Felix Meschberger fmesc...@gmail.com wrote: You might also want to consider providing a SlingPostProcessor. No, I want to use the ModifyOperation in my context, not the other way around

Re: Expose standard SlingPostOperations as services?

2010-08-27 Thread Alexander Klimetschek
or MediaRangeList and co, I'd suggest to move them to public locations in commons-style-libraries, such as jackrabbit-jcr-commons or (I-don't-know-yet), to make them publicly available. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-27 Thread Alexander Klimetschek
for implementing strict RESTful servlets, that should operate on the Accepts header, something which isn't very much supported in Sling so far. But this is quite OT now. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: Expose standard SlingPostOperations as services?

2010-08-27 Thread Alexander Klimetschek
breakage (or none at all), and since it is probably rather seldom, that people have their custom operation, I think one could make such an API change. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: sideeffects of ResourceResolver.map method

2010-11-19 Thread Alexander Klimetschek
are designed to return URIs (absolute or relative), hence the externalization, namespace mangling and URL encoding. To parse it back into its pieces, one has to act like in request processing and use e.g. the java URI class for that. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day

[POST servlet] Patching multi-value properties

2011-01-27 Thread Alexander Klimetschek
represent the operations you want to have executed on the set. WDYT? I would provide a Patch-patch ;-). Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-01-27 Thread Alexander Klimetschek
val in v) { if (val == value2) { v.remove(val); } ) Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-01-27 Thread Alexander Klimetschek
On 27.01.11 15:59, Alexander Klimetschek aklim...@adobe.com wrote: The add operation would be implemented as (pseudo code): Values[] v = prop.getValues(); if (v contains value1) { v += value1; ) Ah, this should of course be if (not (v contains value1)) { v += value1; ) Also, if we

Re: [POST servlet] Patching multi-value properties

2011-01-31 Thread Alexander Klimetschek
Hi again, could I assume silent agreement to this feature? ;-) Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-01-31 Thread Alexander Klimetschek
required to know the set at all! Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-01-31 Thread Alexander Klimetschek
? interface PreProcessor { void process(SlingHttpServletRequest, ListChange); } Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [POST servlet] Patching multi-value properties

2011-02-01 Thread Alexander Klimetschek
On 01.02.11 04:10, Justin Edelson justinedel...@gmail.com wrote: On Jan 31, 2011, at 12:27 PM, Alexander Klimetschek aklim...@adobe.com wrote: The latter is not really possible... one must be able to remove certain parameters from the request or from the RequestProperty list to do so. Maybe

Integration tests failing

2011-02-15 Thread Alexander Klimetschek
(java.net.ConnectException) caught when processing request: Connection refused 43314 [main] INFO org.apache.commons.httpclient.HttpMethodDirector - Retrying request ... and all tests fail. Any idea? Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Integration tests failing

2011-02-16 Thread Alexander Klimetschek
On 15.02.11 21:02, Alexander Klimetschek aklim...@adobe.com wrote: the integration tests fail for me. In the trunk I do cd launchpad/integration-tests mvn test -Dtest=PostServlet* I got it running in the meantime (thanks to Bertrand). The above is not enough, you need to do: (1) start

Re: [POST servlet] Patching multi-value properties

2011-02-16 Thread Alexander Klimetschek
On 27.01.11 15:11, Alexander Klimetschek aklim...@adobe.com wrote: I'd like to propose an extension to the Sling POST servlet. I created http://issues.apache.org/jira/browse/SLING-1983 for this, and attached a patch, which - as a side-effect - simplifies the rather complex set property logic

Re: [suggestion] - OSGI WebConsole

2011-03-02 Thread Alexander Klimetschek
in this regard. But I agree that not having a templating mechanism such as JSP makes it hard to work on it. Just my 2 cents, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [jira] [Commented] (SLING-1967) Document possibility of caching in Adaptable

2011-03-21 Thread Alexander Klimetschek
/no cache decision. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: I18N Bundle

2011-04-06 Thread Alexander Klimetschek
On 05.04.11 12:27, Felix Meschberger fmesc...@adobe.com wrote: At the same time, I think we might want to move it from contrib/extensions to bundles/extensions and add it to the launchpad/builder project. +1 - it is enough mature to be not just contrib :-) Regards, Alex -- Alexander

Re: [VOTE] Release Apache Sling Internationalization Support 2.1.0

2011-04-06 Thread Alexander Klimetschek
/sling/trunk/check_staged_release.sh Usage: sh check_staged_release.sh 067 /tmp/sling-staging Please vote to approve this release: [ ] +1 Approve the release [ ] 0 Don't care [ ] -1 Don't release, because ... This vote will be open for 72 hours. Regards Felix -- Alexander Klimetschek

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
of a single character. What about using :order? And the selector would be order as well (e.g. foo.order.infinity.json). Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
to the Sling POST servlet), why not? Inventing new names adds complexity and potential for confusion... Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
for the child node's names must be. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
On 07.04.11 20:46, Alexander Klimetschek aklim...@adobe.com wrote: On 07.04.11 19:38, Eric Norman eric.d.nor...@gmail.com wrote: why not just render the ordered child nodes as a json array? This would be much more incompatible with the existing way of using a JSON object, and then you need

Re: [JSON] Stable Child Resource Order

2011-04-07 Thread Alexander Klimetschek
are discussing: how to integrate it as simple as possible without breaking things ;-) Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-08 Thread Alexander Klimetschek
On 08.04.11 08:01, Carsten Ziegeler cziege...@apache.org wrote: maps rarely have an order regardless of the language. A linked map is not an unusual data structure. As Tobi noted, WCM/CMS is a prominent use case. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [day-communique] Idea: Sling / CQ Meetup in Berlin

2011-04-10 Thread Alexander Klimetschek
://groups.google.com/group/day-communique?hl=en. -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: [JSON] Stable Child Resource Order

2011-04-11 Thread Alexander Klimetschek
On 11.04.11 05:50, Felix Meschberger fmesc...@adobe.com wrote: Am Freitag, den 08.04.2011, 12:04 +0100 schrieb Alexander Klimetschek: On 08.04.11 08:01, Carsten Ziegeler cziege...@apache.org wrote: maps rarely have an order regardless of the language. A linked map is not an unusual data

Re: RequestDispatcher Resource not found

2011-04-13 Thread Alexander Klimetschek
pleaseincludeme.jsp, with c:import or some custom tags from 3rd party lib) In this case you need to get the request dispatcher from the other webapp (b.war) to include the paths/jsps it covers (such as pleaseincludeme.jsp). Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin

Re: [jira] [Resolved] (SLING-2120) Add functionality to ignore some parameters from POST requests

2011-06-30 Thread Alexander Klimetschek
the existing mechanism). The default would be j_.* to ignore any parameters starting with j_ generally used for authentication -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira -- Alexander Klimetschek Developer

Re: Handling requests to .../j_security_check

2011-11-05 Thread Alexander Klimetschek
request processing) but the request is POST to .../j_security_check, then the request should actually fail with a 403. +1 But I'd suggest making this a configurable list of paths, defaulting to /j_security_check +1 Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Nodetype dependent code

2011-11-07 Thread Alexander Klimetschek
. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

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

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: 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: 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

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: 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: 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: 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: 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: sling.include cleansing URI?

2009-08-25 Thread Alexander Klimetschek
-- 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 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: ItemNotFoundException, repository corrupted?

2009-09-10 Thread Alexander Klimetschek
-- 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: 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-18 Thread Alexander Klimetschek
it publicly available. 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: 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: [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

Re: Doing a query based on partial nodenames.

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

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

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: [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

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

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

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-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: 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: [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

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

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: [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: 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: 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

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: [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

Re: 46 Line Blog Does not Work on Firefox anymore

2010-02-12 Thread Alexander Klimetschek
be changed on the content or the blog sample must support some kind of login. Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

Re: 46 Line Blog Does not Work on Firefox anymore

2010-02-15 Thread Alexander Klimetschek
for Firefox and IE) was replaced AFAIK with a form-based cookie mechanism. Maybe this doesn't work yet together with the blog sample. See http://sling.apache.org/site/authentication.html for the up-to-date docs (afaik). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com

  1   2   3   4   5   6   7   8   >