AW: pendant to load-on-startup

2011-03-07 Thread Clemens Wyss
thx -Ursprüngliche Nachricht- Von: Felix Meschberger [mailto:fmesc...@adobe.com] Gesendet: Montag, 7. März 2011 07:51 An: dev@sling.apache.org Betreff: Re: pendant to load-on-startup Hi Clemens, Am Montag, den 07.03.2011, 06:22 + schrieb Clemens Wyss: In my

pendant to load-on-startup

2011-03-06 Thread Clemens Wyss
In my BundleActivator I register two servlets, where of one should be loaded/initialized before the other. In the web.xml there is the load-on-startup-tag. Is there a specific property that can be set? Thnx Clemens

Unable to find resource 'org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0' in repository central (http://repo1.maven.org/maven2)

2011-02-16 Thread Clemens Wyss
Hi all, just checked out the latest sources from the trunk and tried to build Sling. Unfortunately it fails due to a missing (maven) artifact. The maven output follows: ... Downloading:

AW: Unable to find resource 'org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.3.0' in repository central (http://repo1.maven.org/maven2)

2011-02-16 Thread Clemens Wyss
(http://repo1.maven.org/maven2) Hi, On Wed, Feb 16, 2011 at 11:06 AM, Clemens Wyss clemens...@mysign.ch wrote: ...just checked out the latest sources from the trunk and tried to build Sling. Unfortunately it fails due to a missing (maven) artifact. The maven output follows

AW: SlingPOSTServlet : Auto Checkin Nodes

2010-12-09 Thread Clemens Wyss
Looks like I got it, last but not least due to the integration tests ;-) Regarding the integration tests (in PostServletVersionableTests.java) I would apply two extract method refactorings (createVersionedNode and createNonVersionedNode, which differ only in the fact that params is submitted

o.a.jr.c.p.db.DerbyPersistenceManager should be replaced with o.a.jr.c.p.bundle.DerbyPersistenceManager

2010-12-09 Thread Clemens Wyss
Just had a discussion (see below) on the jackrabbit ml. Possibly before releasing the next release... Regards Clemens Von: Clemens Wyss [mailto:clemens...@mysign.ch] Gesendet: Donnerstag, 9. Dezember 2010 16:34 An: d...@jackrabbit.apache.org Betreff: AW: o.a.jr.c.p.pool.DerbyPersistenceManager

AW: o.a.jr.c.p.db.DerbyPersistenceManager should be replaced with o.a.jr.c.p.bundle.DerbyPersistenceManager

2010-12-09 Thread Clemens Wyss
param name=shutdownOnClose value=false/ must be removed, too Should I JIRA this? Regards Clemens -Ursprüngliche Nachricht- Von: Clemens Wyss [mailto:clemens...@mysign.ch] Gesendet: Donnerstag, 9. Dezember 2010 16:43 An: dev@sling.apache.org Betreff

AW: o.a.jr.c.p.db.DerbyPersistenceManager should be replaced with o.a.jr.c.p.bundle.DerbyPersistenceManager

2010-12-09 Thread Clemens Wyss
Jukka Zitting just replied: 'In fact go directly to pool while you're at it. In 2.2 we're also deprecating non-pooled bundle persistence, see JCR-2803 [1]. [1] https://issues.apache.org/jira/browse/JCR-2803 BR, Jukka Zitting' -Ursprüngliche Nachricht- Von: Clemens Wyss

Howto communicate with Sling bundles/services from outside OSGi?

2010-12-08 Thread Clemens Wyss
Looks like my initial post (sl...@tomcat : howto communicate with Sling bundles/services?) had a missleading/deterrent subject ;-) The topic/question per se has nothing to with Tomcat :-) We are trying to deploy Sling within Tomcat in a project which has a lot of legacy code running in parallel

SlingPOSTServlet : Auto Checkin Nodes

2010-12-08 Thread Clemens Wyss
Auto Checkin Nodes is activated (i.e. true). Hence I would expect that when I modify (a property) of my mixin:versionable node, a new version is created. Unfortunately this is not the case. Looking at AbstractSlingPostOperation#run only CREATE, CHECKOUT or CHECKIN trigger a potential checkin,

[jira] Updated: (SLING-1723) jQuery JCR Explorer - step 2

2010-12-08 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1723: Description: + switch between JCR and resource view on the repo + choose/change workspace

[jira] Created: (SLING-1890) JCR Explorer - improvements

2010-12-08 Thread Clemens Wyss (JIRA)
Reporter: Clemens Wyss Assignee: Clemens Wyss + improved error handling/reporting + create sub node(s) on root node + ajax timeout handling + prevent concurrent branch/subtree loading + multivalue property editing + prevent multiple search requests -- This message

Proposal : linking subversion to jira (with bugtraq properties)

2010-12-08 Thread Clemens Wyss
Looking at the commit logs we very often reference the corresponding jira issue, e.g.: SLING-1889 : Make job creation date available Now if we made use of the bugtraq subversion properties (http://www.syntevo.com/smartsvn/documentation.html?page=commands.bugtraq-properties) we could directly

AW: Proposal : linking subversion to jira (with bugtraq properties)

2010-12-08 Thread Clemens Wyss
properties) Hi, Am Mittwoch, den 08.12.2010, 17:17 +0100 schrieb Clemens Wyss: Looking at the commit logs we very often reference the corresponding jira issue, e.g.: SLING-1889 : Make job creation date available Now if we made use of the bugtraq subversion properties (http

AW: SlingPOSTServlet : Auto Checkin Nodes

2010-12-08 Thread Clemens Wyss
An: dev@sling.apache.org Betreff: Re: SlingPOSTServlet : Auto Checkin Nodes Hi, Am Mittwoch, den 08.12.2010, 16:19 +0100 schrieb Clemens Wyss: Auto Checkin Nodes is activated (i.e. true). Hence I would expect that when I modify (a property) of my mixin:versionable node, a new version

Shareable nodes vs weak references

2010-11-15 Thread Clemens Wyss
Given the following data structure of projects and tasks: project p1 tasks all t1 t2 open t1 closed t2 and I then want to add the employees/task association (tasks assigend to

AW: Shareable nodes vs weak references

2010-11-15 Thread Clemens Wyss
I didn't intend to crosspost, but had problems sending emails, which led me to the conclusion that the email to us...@sling did not go out... Therefore I suggest to close this thread and hope to get answers on the us...@sling mailinglist ;-) -Ursprüngliche Nachricht- Von: Clemens Wyss

[jira] Assigned: (SLING-1859) Multi-value string properties are not displayed correctly

2010-11-14 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss reassigned SLING-1859: --- Assignee: Clemens Wyss (was: Mike Müller) Multi-value string properties are not displayed

[jira] Commented: (SLING-1859) Multi-value string properties are not displayed correctly

2010-11-14 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12931838#action_12931838 ] Clemens Wyss commented on SLING-1859: - If resource.adaptTo(ValueMap) fails (i.e returns

[jira] Issue Comment Edited: (SLING-1859) Multi-value string properties are not displayed correctly

2010-11-14 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12931838#action_12931838 ] Clemens Wyss edited comment on SLING-1859 at 11/14/10 11:00 AM

[jira] Commented: (SLING-1870) Sling should url decode the request url before trying to resolve to a resource

2010-11-12 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12931358#action_12931358 ] Clemens Wyss commented on SLING-1870: - Felix: what exactly ist our Jetty-Wrapper? Where

[jira] Commented: (SLING-1859) Multi-value string properties are not displayed correctly

2010-11-11 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12931146#action_12931146 ] Clemens Wyss commented on SLING-1859: - the given behavior arises when a multivalued

[jira] Issue Comment Edited: (SLING-1859) Multi-value string properties are not displayed correctly

2010-11-11 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12931146#action_12931146 ] Clemens Wyss edited comment on SLING-1859 at 11/11/10 3:08 PM

[jira] Created: (SLING-1870) Sling should url decode the request url before trying to resolve to a resource

2010-11-10 Thread Clemens Wyss (JIRA)
Issue Type: Bug Reporter: Clemens Wyss Priority: Critical e.g.: JCR supports nodes with spaces (in its name), such as Nice World. When accessing this node in Sling, the request url would look something like http://sling host/path to node/Nice%20World unfortunately we

[jira] Commented: (SLING-1870) Sling should url decode the request url before trying to resolve to a resource

2010-11-10 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930589#action_12930589 ] Clemens Wyss commented on SLING-1870: - So SlingHttpServletRequestImpl should return

[jira] Issue Comment Edited: (SLING-1870) Sling should url decode the request url before trying to resolve to a resource

2010-11-10 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930589#action_12930589 ] Clemens Wyss edited comment on SLING-1870 at 11/10/10 8:37 AM

[jira] Commented: (SLING-1870) Sling should url decode the request url before trying to resolve to a resource

2010-11-10 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930597#action_12930597 ] Clemens Wyss commented on SLING-1870: - OTH: jetty does not seem do to its job...i.e

[jira] Commented: (SLING-1870) Sling should url decode the request url before trying to resolve to a resource

2010-11-10 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12930611#action_12930611 ] Clemens Wyss commented on SLING-1870: - SlingHttpServletRequestImpl is the wrong place

Scripted ACLs/Authorization

2010-11-08 Thread Clemens Wyss
Often the basic ACL features are not sufficient to represent all authorization needs (http://dev.day.com/content/ddc/blog/2009/01/theaclisdead.html ). Wouldn't it be nice if we could define our authorization needs in an Authorization DSL ( in Groovy or jRuby ;-) ) which then could be applied

[jira] Created: (SLING-1812) Sling Explorer - Delete Node does not work

2010-10-01 Thread Clemens Wyss (JIRA)
: Clemens Wyss Assignee: Clemens Wyss dito -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.

[jira] Resolved: (SLING-1812) Sling Explorer - Delete Node does not work

2010-10-01 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss resolved SLING-1812. - Fix Version/s: Sling Explorer 1.0.0 Resolution: Fixed was just a path/escaping problem

[jira] Updated: (SLING-1812) Sling Explorer - Delete Node does not work

2010-10-01 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1812: rev 1003540 Sling Explorer - Delete Node does not work

RE: SlingPostServletClient, helper class?

2010-09-29 Thread Clemens Wyss
how do I enforce jcr:primaryType over SlingPostServlet? -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Tuesday, September 28, 2010 5:12 PM To: 'dev@sling.apache.org' Subject: RE: SlingPostServletClient, helper class? SlingIntegrationTestClient doesn't

RE: SlingPostServletClient, helper class?

2010-09-29 Thread Clemens Wyss
To: dev@sling.apache.org Subject: Re: SlingPostServletClient, helper class? On Wed, Sep 29, 2010 at 9:24 AM, Clemens Wyss clemens...@mysign.ch wrote: how do I enforce jcr:primaryType over SlingPostServlet? not sure what you mean...enforcing apples over oranges? ;-) -Bertrand

RE: SlingPostServletClient, helper class?

2010-09-29 Thread Clemens Wyss
? -Original Message- From: Bertrand Delacretaz [mailto:bdelacre...@apache.org] Sent: Wednesday, September 29, 2010 10:23 AM To: dev@sling.apache.org Subject: Re: SlingPostServletClient, helper class? On Wed, Sep 29, 2010 at 9:46 AM, Clemens Wyss clemens...@mysign.ch wrote: I am

SlingPostServletClient, helper class?

2010-09-28 Thread Clemens Wyss
Do we somewhere in the sling-repo/sources have a helper class for posting data to Sling(PostServlet)? Asked the other way round: given a legacy database with lots of data, how would you inject (export/import) this data into Sling/JCR? Thx in advance for your advices/hints Clemens

RE: Welcome Clemens Wyss

2010-09-17 Thread Clemens Wyss
, but that was 1998! :-) -Original Message- From: Felix Meschberger [mailto:fmesc...@gmail.com] Sent: Friday, September 17, 2010 8:35 AM To: Sling Developers Subject: Welcome Clemens Wyss Hi all, I want to let you know that the Apache Sling PMC decided to invite Clemens Wyss

RE: Welcome Clemens Wyss

2010-09-17 Thread Clemens Wyss
, September 17, 2010 9:48 AM To: dev@sling.apache.org Subject: Re: Welcome Clemens Wyss On Fri, Sep 17, 2010 at 9:06 AM, Clemens Wyss clemens...@mysign.ch wrote: A few words about myself (feel free to skip ;-) ): I (aged 42, married and father of 3 children) live in Switzerland where I

RE: [sling explorer] Form based auth with IE to no avail :-(

2010-09-15 Thread Clemens Wyss
looks like an IE caching issue. If we make the getSessionInfo-URI unique (i.e. prevent caching) it works: ... var res=Sling.httpGet(Sling.baseurl+/system/sling/info.sessionInfo.+new Date().getTime()+.json); ... WDYT? -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch

RE: [sling explorer] Form based auth with IE to no avail :-(

2010-09-15 Thread Clemens Wyss
? -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Wednesday, September 15, 2010 8:35 AM To: 'dev@sling.apache.org' Subject: RE: [sling explorer] Form based auth with IE to no avail :-( looks like an IE caching issue. If we make the getSessionInfo-URI unique (i.e

[jira] Created: (SLING-1776) Caching should be disbaled for /system/sling/info.sessionInfo

2010-09-15 Thread Clemens Wyss (JIRA)
Components: Authentication Environment: InternetExplorer Reporter: Clemens Wyss IE seems to cache the /system/sling/info.sessionInfo.json page/result. If you perform an authentication in the browser and then gather the current session info through Sling.getSessionInfo

[jira] Updated: (SLING-1776) Caching should be disabled for /system/sling/info.sessionInfo(.json)

2010-09-15 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1776: Summary: Caching should be disabled for /system/sling/info.sessionInfo(.json) (was: Caching

RE: [sling explorer] Form based auth with IE to no avail :-(

2010-09-14 Thread Clemens Wyss
:-( Maybe check if IE is getting/sending the sling cookie on the second request. On Sep 14, 2010 9:36 AM, Clemens Wyss clemens...@mysign.ch wrote: Sling Explorer does form based authentication, which works fine(*) with FF, Safari and Chrome. Unfortunately neither on IE6 nor on IE8 it works

RE: [sling explorer] Form based auth with IE to no avail :-(

2010-09-14 Thread Clemens Wyss
and the resource tree is not redered. I guess this is another problem (which is nonetheless to be solved, too?) -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Tuesday, September 14, 2010 7:22 PM To: 'dev@sling.apache.org' Subject: RE: [sling explorer] Form based auth

RE: [sling explorer] Form based auth with IE to no avail :-(

2010-09-14 Thread Clemens Wyss
I would if fiddler provided me this data (headers), such as firebug does... -- http://weblogs.asp.net/lorenh/archive/2008/01/10/tip-for-using-fiddler-on-localhost.aspx the '.' does it!, OMG I can now proceed debugging the IE traces... -Original Message- From: Clemens Wyss

[jira] Assigned: (SLING-1758) [explorer] refer to child node instead of sub-node

2010-09-13 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss reassigned SLING-1758: --- Assignee: Clemens Wyss [explorer] refer to child node instead of sub-node

[jira] Assigned: (SLING-1757) [explorer] can't select root node

2010-09-13 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss reassigned SLING-1757: --- Assignee: Clemens Wyss [explorer] can't select root node

[jira] Assigned: (SLING-1759) [explorer] logo shouldn't refer to incubator.apache.org

2010-09-13 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss reassigned SLING-1759: --- Assignee: Clemens Wyss [explorer] logo shouldn't refer to incubator.apache.org

[jira] Commented: (SLING-1765) Problems with authentication if basic auth was used before opening Sling Explorer

2010-09-13 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12908799#action_12908799 ] Clemens Wyss commented on SLING-1765: - wouldn't the clean solution be for the explorer

[jira] Updated: (SLING-1740) Sling Explorer - Displaying/showing server side errors

2010-09-12 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1740: Attachment: sling-1740-2.patch patch which provides the described functionality (merged

adding a subnode to a resource/node which has a dot('.') in its name does not work

2010-09-09 Thread Clemens Wyss
before entering a bug(?) in jira, I would like to discuss this issue here. When I (try) add a subnode to a resource which has a dot ('.') in its name, it doesn't work AND a 200-response is sent, indicating that content without the dot and extension was modified. E.g. (with Sling Explorer):

[jira] Created: (SLING-1740) Sling Explorer - Displaying/showing server side errors

2010-09-09 Thread Clemens Wyss (JIRA)
: Extensions Reporter: Clemens Wyss Priority: Minor Almost all operation of Sling Explorer are performed through Ajax. So far any error that occurred was ignored. This patch makes 'em visible through displaying errors in a modal pop-up-dialog. -- This message

[jira] Assigned: (SLING-1740) Sling Explorer - Displaying/showing server side errors

2010-09-09 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss reassigned SLING-1740: --- Assignee: Clemens Wyss Sling Explorer - Displaying/showing server side errors

[jira] Updated: (SLING-1740) Sling Explorer - Displaying/showing server side errors

2010-09-09 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1740: Attachment: sling-1740.patch patch which resolves/implements the described improvement Sling

[jira] Created: (SLING-1741) An exception should be thrown when trying to add a subnode to an nt:file-node

2010-09-09 Thread Clemens Wyss (JIRA)
Issue Type: Bug Components: JCR Reporter: Clemens Wyss The nt:file nodetype (without any other mixin node types assigned to the node) only supports one single child node whose name is jcr:content. Hence when you try to add a subnode to an nt:file node you should be getting

RE: adding a subnode to a resource/node which has a dot('.') in its name does not work

2010-09-09 Thread Clemens Wyss
is this declared? -Original Message- From: Felix Meschberger [mailto:fmesc...@gmail.com] Sent: Thursday, September 09, 2010 3:17 PM To: dev@sling.apache.org Subject: Re: adding a subnode to a resource/node which has a dot('.') in its name does not work Hi, On 09.09.2010 15:11, Clemens Wyss

RE: adding a subnode to a resource/node which has a dot('.') in its name does not work

2010-09-09 Thread Clemens Wyss
this helps. Regards Felix On 09.09.2010 15:33, Clemens Wyss wrote: Coming back to my permission question: is there no way (no need) to determine whether a given nodetype allows adding subnodes? The nt:file nodetype (without any other mixin node types assigned to the node) only supports

RE: adding a subnode to a resource/node which has a dot('.') in its name does not work

2010-09-09 Thread Clemens Wyss
: Justin Edelson [mailto:justinedel...@gmail.com] Sent: Thursday, September 09, 2010 8:01 PM To: dev@sling.apache.org Subject: Re: adding a subnode to a resource/node which has a dot('.') in its name does not work On 9/9/10 10:28 AM, Clemens Wyss wrote: there is also the NodeType

[jira] Created: (SLING-1723) jQuery JCR Explorer - step 2

2010-09-02 Thread Clemens Wyss (JIRA)
jQuery JCR Explorer - step 2 Key: SLING-1723 URL: https://issues.apache.org/jira/browse/SLING-1723 Project: Sling Issue Type: New Feature Components: Extensions Reporter: Clemens Wyss

jcr:mixinTypes property cannot be casted to a javax.jcr.Property

2010-08-31 Thread Clemens Wyss
in the jQuery JCR explorer I iterate over the properties of a resource making use of org.apache.sling.api.resource.PersistableValueMap. I.e. var properties = resource.adaptTo(Packages.org.apache.sling.api.resource.PersistableValueMap); I then try to cast the property to javax.jcr.Property, var

RE: mixinTypes property cannot be casted to a javax.jcr.Property

2010-08-31 Thread Clemens Wyss
: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Tuesday, August 31, 2010 10:38 AM To: 'dev@sling.apache.org' Subject: jcr:mixinTypes property cannot be casted to a javax.jcr.Property in the jQuery JCR explorer I iterate over the properties of a resource making use

[jira] Commented: (SLING-1603) SlingServlet service

2010-08-31 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12904934#action_12904934 ] Clemens Wyss commented on SLING-1603: - I guess Engine is implemented with the strategy

Howto determine whether the user is authenticated/logged in

2010-08-30 Thread Clemens Wyss - MySign AG
what is the appropriate way to determine whether a user is authenticated/logged in? Anything more explicit than !request.resourceResolver.getUserID().equals(anonymous) ? How about on the client side (javascript)? Anything else than anonymous != Sling.getSessionInfo.userID ?

RE: Howto determine whether the user is authenticated/logged in

2010-08-30 Thread Clemens Wyss
/logged in Hi, On 30.08.2010 14:05, Clemens Wyss - MySign AG wrote: what is the appropriate way to determine whether a user is authenticated/logged in? Anything more explicit than !request.resourceResolver.getUserID().equals(anonymous) ? On the server side, the correct thing is to check

[jira] Updated: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-27 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1671: Attachment: sling-1671-clemens.patch as promised an initial commit of the jQuery JCR Explorer

[jira] Commented: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-27 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12903403#action_12903403 ] Clemens Wyss commented on SLING-1671: - regarding the pluggable resource/node editors

RE: [jira] Commented: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-27 Thread Clemens Wyss
: Felix Meschberger [mailto:fmesc...@gmail.com] Sent: Friday, August 27, 2010 3:54 PM To: dev@sling.apache.org Subject: Re: [jira] Commented: (SLING-1671) New features for jQuery JCR Explorer - step 1 Hi, On 27.08.2010 15:29, Clemens Wyss (JIRA) wrote: [ https://issues.apache.org

RE: [jira] Commented: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-27 Thread Clemens Wyss
/_sling_redirect.esp.explorer.item.html resolves to Resource=NonExistingResource, path=/libs/sling/servlet/default/explorer/edit/sling:redirect.esp.explorer.item.html' ? -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Friday, August 27, 2010 6:40 PM To: 'dev

[jira] Updated: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-26 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1671: Description: + property (type) specific editors (e.g. date, boolean) + search (SQL2, JQDOM, sql

[jira] Commented: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-26 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902825#action_12902825 ] Clemens Wyss commented on SLING-1671: - btw, I am the Assignee ;-) but can't assign

[jira] Commented: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-26 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12902824#action_12902824 ] Clemens Wyss commented on SLING-1671: - we intend to release an initial version

[jira] Assigned: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-26 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss reassigned SLING-1671: --- Assignee: Clemens Wyss New features for jQuery JCR Explorer - step 1

RE: WebDAV

2010-08-23 Thread Clemens Wyss
We intend to implement this feature into the jQuery Explorer, i.e. being able to switch between JCR-View and Sling/Resource-View. In the end WebDAV only makes sense for folders/files, whereas the explorer is more generic... -Original Message- From: Ian Boston

RE: WebDAV

2010-08-23 Thread Clemens Wyss
They are complements not concurrents ;-) +100 :-) -Original Message- From: Felix Meschberger [mailto:fmesc...@gmail.com] Sent: Monday, August 23, 2010 3:25 PM To: dev@sling.apache.org Subject: Re: WebDAV Hi, On 23.08.2010 15:17, Clemens Wyss wrote: We intend to implement

[jira] Created: (SLING-1680) FsResourceProvider takes VERY long to register/unregister AND finally throws an OutOfMemoryError

2010-08-23 Thread Clemens Wyss (JIRA)
-1680 Project: Sling Issue Type: Bug Components: JCR Environment: WinXP, latest-greatest Sling (from trunk) Reporter: Clemens Wyss Given the Sling Web Console When I configure an instance of the filesystem resource provider in terms of provider

[jira] Commented: (SLING-1680) FsResourceProvider takes VERY long to register/unregister AND finally throws an OutOfMemoryError

2010-08-23 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12901417#action_12901417 ] Clemens Wyss commented on SLING-1680: - I can confirm that c:/ tmp is very deep and has

RE: [DISCUSS] Correct listing of resource children (follow up to SLING-1672)

2010-08-23 Thread Clemens Wyss
I can confirm that case 1) does work. If a ResourceProvider has a root of /foo/bar, then it shouldn't be expected to return resources for anything not starting with /foo/bar. agree, but in case of listChildren on any path/node/resource we could consult all resource providers (which

RE: [DISCUSS] Correct listing of resource children (follow up to SLING-1672)

2010-08-23 Thread Clemens Wyss
;path:=/libs/sling/explorer /Sling-Bundle-Resources and then creating the res/sling/explorer jcr structure (through WebDAV for example) only enlists the jcr tree but not the mixed in bundle resources -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Monday

RE: resource.resourceResolver.listChildren only lists jcr nodes?

2010-08-20 Thread Clemens Wyss
there is a typo in the subject, should be: 'request.resourceResolver.listChildren only lists jcr nodes?' -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Friday, August 20, 2010 11:20 AM To: 'dev@sling.apache.org' Subject

[jira] Created: (SLING-1671) New features for jQuery JCR Explorer - step 1

2010-08-20 Thread Clemens Wyss (JIRA)
Reporter: Clemens Wyss Priority: Minor + property (type) specific editors (e.g. date, boolean) + search (SQL2, JQOM, sql and xpath) + optimized tree (navigation) + pluggable resource/node editors -- This message is automatically generated by JIRA. - You can reply to this email

RE: resource.resourceResolver.listChildren only lists jcr nodes?

2010-08-20 Thread Clemens Wyss
. Regards Felix On 20.08.2010 11:20, Clemens Wyss wrote: in my esp-script I have the follwoing line: var childResources = request.resourceResolver.listChildren( resource ); To me (having explicitly definde bundle resources) it looks as if this only lists jcr nodes but not all

RE: resource.resourceResolver.listChildren only lists jcr nodes?

2010-08-20 Thread Clemens Wyss
Subject: Re: resource.resourceResolver.listChildren only lists jcr nodes? Hi, On 20.08.2010 11:54, Clemens Wyss wrote: in my pom.xml I have: Sling-Bundle-Resources /res/sling/explorer;overwrite:=true;uninstall=true;path:=/libs /sling/explorer Hmm, this looks

Why does currentNode.getNodes() not return a NodeIterator?

2010-08-19 Thread Clemens Wyss
my esp script starts as follows: if (currentNode) { var nodes = currentNode.getNodes( ); var size = nodes.getSize(); ... I keep getting: Uncaught SlingException org.mozilla.javascript.EcmaError: TypeError: getSize is not a function, it is org.mozilla.javascript.Undefined what am I missing?

RE: Why does currentNode.getNodes() not return a NodeIterator?

2010-08-19 Thread Clemens Wyss
Felix On 19.08.2010 15:37, Clemens Wyss wrote: my esp script starts as follows: if (currentNode) { var nodes = currentNode.getNodes( ); var size = nodes.getSize(); ... I keep getting: Uncaught SlingException org.mozilla.javascript.EcmaError: TypeError: getSize

RE: Sling Resource/JCR Explorer

2010-08-18 Thread Clemens Wyss
to the explorer. -- Mike On Aug 17, 2010, at 1:36 AM, Clemens Wyss wrote: looks like Mike Moulton is off again, or in lack of time ;-) Hence I shall take over. In order to not loose time on the various libs that Mike incorporated, I will start with the plain lightweight jQuery

RE: Sling Resource/JCR Explorer

2010-08-17 Thread Clemens Wyss
specific editors (date, reference, ...) By end of the week I should be able to tell, whether an integration into Sling 6 makes sense -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Sunday, August 15, 2010 2:40 PM To: 'dev@sling.apache.org' Subject: RE: Sling

RE: extending jQuery JCR Resource explorer

2010-08-15 Thread Clemens Wyss
Resource explorer On Aug 13, 2010, at 10:47 PM, Clemens Wyss wrote: I had a first look at your explorer. If I get this right: + new, more appealing, GUI I plan on making this UI cleaner too, just didn't have time to have one of my designers make me a better comp. + new js-tree The big

RE: Sling Resource/JCR Explorer

2010-08-15 Thread Clemens Wyss
you could get something release-worthy what would you regard release worthy? ;-) Now that Mike Moulton has come up with his extensions, he'd be the person to give appropriate estimations -Original Message- From: Felix Meschberger [mailto:fmesc...@gmail.com] Sent: Sunday, August 15,

RE: Sling Resource/JCR Explorer

2010-08-15 Thread Clemens Wyss
-Original Message- From: Felix Meschberger [mailto:fmesc...@gmail.com] Sent: Sunday, August 15, 2010 2:15 PM To: dev@sling.apache.org Subject: Re: Sling Resource/JCR Explorer Hi, On 15.08.2010 14:06, Clemens Wyss wrote: you could get something release-worthy what would you

RE: extending jQuery JCR Resource explorer

2010-08-13 Thread Clemens Wyss
will I be able to update/add/delete the values of multivalued properties through the Sling REST API (SlingPostServlet?)? -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent: Friday, August 13, 2010 7:22 AM To: 'dev@sling.apache.org' Subject: RE: extending jQuery

where is the esp-syntax described?

2010-08-13 Thread Clemens Wyss
e.g. is there an else if or elsif? How about a switch/case? Thx

RE: extending jQuery JCR Resource explorer

2010-08-13 Thread Clemens Wyss
://issues.apache.org/jira/browse/SLING-1653 On Aug 13, 2010, at 9:21 AM, Bertrand Delacretaz wrote: On Thu, Aug 12, 2010 at 4:26 PM, Clemens Wyss clemens...@mysign.ch wrote: ...Anything important/fancy missing? How would you priorize these features?.. A nice thing would be to use

RE: extending jQuery JCR Resource explorer

2010-08-13 Thread Clemens Wyss
I had a first look at your explorer. If I get this right: + new, more appealing, GUI + new js-tree + properties are no more being edited inline, which makes sense + privileges, minimal did I miss a hidden feature? -Original Message- From: Clemens Wyss [mailto:clemens...@mysign.ch] Sent

RE: extending jQuery JCR Resource explorer

2010-08-13 Thread Clemens Wyss
: Re: extending jQuery JCR Resource explorer On Thu, Aug 12, 2010 at 4:26 PM, Clemens Wyss clemens...@mysign.ch wrote: ...Anything important/fancy missing? How would you priorize these features?.. A nice thing would be to use the Sling script resolution to plugin custom content editors

bug in contrib/explorers/jQuery

2010-08-12 Thread Clemens Wyss
I found a little bug (which mainly showed up in FF) and have a patch ready to fix it. Where (at https://issues.apache.org/jira/browse/SLING) should I file the bug and patch? Are there any plans to extend this lightweight resource explorer? What additional features would make sense?

RE: bug in contrib/explorers/jQuery

2010-08-12 Thread Clemens Wyss
: Thursday, August 12, 2010 8:28 AM To: dev@sling.apache.org Subject: Re: bug in contrib/explorers/jQuery On Thu, Aug 12, 2010 at 8:21 AM, Clemens Wyss clemens...@mysign.ch wrote: I found a little bug (which mainly showed up in FF) and have a patch ready to fix it. Where (at https

[jira] Created: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Clemens Wyss (JIRA)
Issue Type: Bug Components: Extensions Environment: Firefox Reporter: Clemens Wyss Priority: Minor when launching the explorer in Firefox the root nodes are being replicated beneath the root nodes. See screenshot. reason: On the repo's root

[jira] Updated: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1645: Attachment: jQuery_explorer_in_FF.png jQuery explorer (contrib/explorers/jQuery) does not display

[jira] Updated: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Clemens Wyss (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clemens Wyss updated SLING-1645: Attachment: explorer.js.diff a patch/diff to solve this bug jQuery explorer (contrib/explorers

esp - enlist jcr:primaryType's and or sling:resourceType's ?

2010-08-12 Thread Clemens Wyss
How can I enlist all available jcr:primaryType's from within esp? How can I enlist all available sling:resourceType's from within esp?

  1   2   >