Re: Move ContentManager to Sling API

2007-10-05 Thread Torgeir Veimo
was that it subclasses HttpServletRequest. -1 -- Torgeir Veimo [EMAIL PROTECTED]

Re: Move ContentManager to Sling API

2007-10-05 Thread Torgeir Veimo
On 5 Oct 2007, at 17:30, Felix Meschberger wrote: Hi Torgeir, Am Freitag, den 05.10.2007, 17:25 +0100 schrieb Torgeir Veimo: Having done some work recently with Day Communique, one of the annoying things was that it subclasses HttpServletRequest. Can you please elaborate on this ? Because

Re: Move ContentManager to Sling API

2007-10-08 Thread Torgeir Veimo
On Mon, 2007-10-08 at 08:22 +0200, Felix Meschberger wrote: Am Freitag, den 05.10.2007, 21:36 +0100 schrieb Torgeir Veimo: I feel it's cleaner to fetch the manager from some sort of factory instance. It wouldn't expose the implementation details of how the manager is kept local

Re: [jira] Commented: (SLING-64) Refactor Servlets and Script resolution

2007-10-18 Thread Torgeir Veimo
, request parameters and others. I'm using such a mapper approach successfully in our own prototype crm framework. -- Torgeir Veimo [EMAIL PROTECTED]

Re: Sling-API

2007-10-29 Thread Torgeir Veimo
On 27 Oct 2007, at 16:42, Felix Meschberger wrote: Hi, Am Freitag, den 26.10.2007, 16:38 +0200 schrieb Torgeir Veimo: Some suggestions: 2. Generalise the Servlet into a sort of View component. The best analogy is probably Struts' ActionForward class. Wouldn't it be appropriate to use a JSP

Re: Sling-API

2007-10-29 Thread Torgeir Veimo
On 29 Oct 2007, at 14:54, Bertrand Delacretaz wrote: Hi Torgeir, On 10/29/07, Torgeir Veimo [EMAIL PROTECTED] wrote: ...2. Generalise the Servlet into a sort of View component. The best analogy is probably Struts' ActionForward class ...My main concern is that I'm interested

Re: [RT] Shall we merge microsling into Sling?

2007-12-17 Thread Torgeir Veimo
this enable microsling to run without any OSGi framework at all? -- Torgeir Veimo [EMAIL PROTECTED]

Re: [RT] Shall we merge microsling into Sling?

2007-12-17 Thread Torgeir Veimo
, and starts very quickly. But there are still issues for those that still need to be able to deploy into tomcat, if OSGi is required? -- Torgeir Veimo [EMAIL PROTECTED]

Re: ujax ponderings

2008-01-22 Thread Torgeir Veimo
Verification. You acknowledge and agree that the Software may contain verification and reporting functionality that allows the remote reporting of your usage of the Software for the purpose of verifying your compliance with these terms and conditions. -- Torgeir Veimo [EMAIL PROTECTED]

Re: Discover Sling in 15 minutes

2008-01-29 Thread Torgeir Veimo
org.apache.sling.core.impl.SlingHttpServletResponseImpl -- Torgeir Veimo [EMAIL PROTECTED]

Re: Discover Sling in 15 minutes

2008-01-29 Thread Torgeir Veimo
org.apache.sling.ujax.UjaxPostServlet -- Torgeir Veimo [EMAIL PROTECTED]

Re: LDAP user authentication

2008-02-21 Thread Torgeir Veimo
On 21 Feb 2008, at 22:47, Vidar Ramdal wrote: On 21 Feb 2008, at 22:25, Vidar Ramdal wrote: Does anyone have a working example of configuring Sling to using an external LDAP server for authentication? On 2/21/08, Torgeir Veimo [EMAIL PROTECTED] wrote: I'd assume this is sort of orthogonal

Re: Sling projects and mentors for GSoC?

2008-03-13 Thread Torgeir Veimo
On 13 Mar 2008, at 13:18, Bertrand Delacretaz wrote: On Thu, Mar 13, 2008 at 2:08 PM, Torgeir Veimo [EMAIL PROTECTED] wrote: ... How about defining a formal remote protocol for JCR instead? ... Doesn't have to be instead IMHO, that sounds like a totally different project, isn't

Re: Sling projects and mentors for GSoC?

2008-03-13 Thread Torgeir Veimo
a lot of questions, I guess. How do you send JCR data over the wire? XML or JSON? -- Torgeir Veimo [EMAIL PROTECTED]

Re: JCR Explorer

2008-04-22 Thread Torgeir Veimo
? -- Torgeir Veimo [EMAIL PROTECTED]

Re: Making files referenceable during content loading

2008-07-02 Thread Torgeir Veimo
to a reference, as it uses the UUID internally, just that reference integrity is not maintained if the document the UUID belong to is deleted. -- Torgeir Veimo [EMAIL PROTECTED]

Re: sling without maven

2008-07-02 Thread Torgeir Veimo
up from there by the Sling main class which launches the Felix framework. You may choose to use this integration, just adapt the SlingServlet to your needs or rip out what you need. I think that would be the easiest approach. -- Torgeir Veimo [EMAIL PROTECTED]

combine jsp processing in sling with jsp processing in servlet container?

2008-07-03 Thread Torgeir Veimo
which needs to retain JSP processing by the servlet container. -- Torgeir Veimo [EMAIL PROTECTED]

Re: combine jsp processing in sling with jsp processing in servlet container?

2008-07-04 Thread Torgeir Veimo
maybe removing it would do the trick? Do the sling servlet handle JSPs residing both in the file system and the repository? -- Torgeir Veimo [EMAIL PROTECTED]

Re: Image rendering (image creation / manipulation)

2008-07-06 Thread Torgeir Veimo
writing a wrapper around the convert utility of ImageMagick. It would be handy to have an open source utility library that would be easy to plug into sling, with different backends for image manipulation implemented either with JAI or wrappers as described. -- Torgeir Veimo [EMAIL PROTECTED]

Re: problem with sling web app under tomcat with other jcr apps

2008-07-16 Thread Torgeir Veimo
be through rmi? -- Torgeir Veimo [EMAIL PROTECTED]

Re: problem with sling web app under tomcat with other jcr apps

2008-07-16 Thread Torgeir Veimo
On 16 Jul 2008, at 19:41, Torgeir Veimo wrote: On 16 Jul 2008, at 17:25, Carsten Ziegeler wrote: 'm not sure but it could be that you have problems because there are two repositories in your installation: the one from your webapp and the other one embedded into Sling. The only way

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-11 Thread Torgeir Veimo
for this to work? The current value of sling.home is defined as sling.home = sling Also, is this provider in current trunk? -- Torgeir Veimo [EMAIL PROTECTED]

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
cannot seem to trigger that this one is being used when trying to access localhost/sling/test/. Any ideas? -- Torgeir Veimo [EMAIL PROTECTED]

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
. Is this my problem? I have Configuration Information Persistent Identity (PID) org.apache.sling.fsprovider.FsResourceProvider Configuration Binding None -- Torgeir Veimo [EMAIL PROTECTED]

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 20:30, Felix Meschberger wrote: Torgeir Veimo schrieb: Starting with a fresh org.apache.sling.launchpad.webapp-4-incubator- SNAPSHOT.war (from trunk) deployed as sling.war into a tomcat instance. Also deploying FsResourceProvider bundle using mangement console. ok

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
a configuration, shouldn't it appear as an additional item in the selection list, with the name of the component suffixed with it's uuid? -- Torgeir Veimo [EMAIL PROTECTED]

Re: [jira] Created: (SLING-583) Implement a file system resource provider

2008-08-12 Thread Torgeir Veimo
On 12 Aug 2008, at 21:43, Felix Meschberger wrote: Hi, Torgeir Veimo schrieb: On 12 Aug 2008, at 21:19, Felix Meschberger wrote: Ah ! That is the point. The FsResourceProvider is a component factory. The configuration you are showing is not one which causes FsResourceProvider

Re: How to beginn with Microsling

2008-09-05 Thread Torgeir Veimo
-minutes.html ? -- Torgeir Veimo [EMAIL PROTECTED]

Re: is there any way to user sling whithout OSGi

2008-09-06 Thread Torgeir Veimo
On 6 Sep 2008, at 16:19, Bertrand Delacretaz wrote: Replacing the jacrkabbit-server bundle by the jackrabbit-client one, and configuring that with the repository access parameters, should be enough for that. Does that imply RMI? -- Torgeir Veimo [EMAIL PROTECTED]

Re: Replacing JcrResourceResolverFactory by a Sling ResourceResolverFactory

2008-11-11 Thread Torgeir Veimo
be the possibility to mount various back- ends at the same paths, so that if a resource is not found in one back- end, the other one is tried. This would be more useful for Sling than for JCR though. -- Torgeir Veimo [EMAIL PROTECTED]

user management

2008-12-11 Thread Torgeir Veimo
login form page and jcr authenticatio user node type definitions with most common properties for basic users; uid, password, basic group node types basic manager for managing users and groups; add/remove/update, change group membership. -- Torgeir Veimo torg...@pobox.com

Re: Problems Implementing a Custom AccessManager

2008-12-16 Thread Torgeir Veimo
implementations. -- Torgeir Veimo torg...@pobox.com

Re: User identity for event scripts (was: [jira] Created: (SLING-788)...)

2008-12-19 Thread Torgeir Veimo
user directories as people-root/xyz and then define cron files to have certain names, or live under people-root/xyz/crontab or similar? User management is standard in most web application these days so it will sooner or later find its way into sling in any case. -- Torgeir Veimo torg

json on root node

2008-12-21 Thread Torgeir Veimo
from last week. -- Torgeir Veimo torg...@pobox.com

Re: json on root node

2008-12-23 Thread Torgeir Veimo
On 24 Dec 2008, at 01:43, Bertrand Delacretaz wrote: On Mon, Dec 22, 2008 at 2:00 AM, Torgeir Veimo torg...@pobox.com wrote: Using http://localhost:8080/.json works, but trying http://localhost:8080/.infinity.json or http://localhost: 8080/.1.json gives me an exception and error 500

Re: json on root node

2008-12-24 Thread Torgeir Veimo
.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:262) -- Torgeir Veimo torg...@pobox.com

add node type definitions

2009-01-01 Thread Torgeir Veimo
What is the easiest way to add new node type definitions to a running sling instance? Would be handy if it could be done with a suitable curl command. -- Torgeir Veimo torg...@pobox.com

default node type for webdav collections

2009-01-01 Thread Torgeir Veimo
this configuration myself? -- Torgeir Veimo torg...@pobox.com

Re: modify resource bundle jar file

2009-01-01 Thread Torgeir Veimo
Where is the sling maven plugin located? maven complains it cannot find it in the default repositories. Will this command update all the deployed sling bundles? -- Torgeir Veimo torg...@pobox.com

Re: default node type for webdav collections

2009-01-01 Thread Torgeir Veimo
for the webdav servlet, but I couldn't find any setting for the default node type. -- Torgeir Veimo torg...@pobox.com

Re: modify resource bundle jar file

2009-01-01 Thread Torgeir Veimo
On 2 Jan 2009, at 16:04, Torgeir Veimo wrote: On 30 Dec 2008, at 06:40, Felix Meschberger wrote: (1) To upload with the Maven Sling Plugin: you may build and deploy in a single Maven call: $ mvn clean package \ -Dsling.url=http://localhost:/system/console

script selector when resource has no resourceType property

2009-01-02 Thread Torgeir Veimo
://cwiki.apache.org/SLING/url-to-script-resolution.html is desperately lacking in examples.. -- Torgeir Veimo torg...@pobox.com

Re: script selector when resource has no resourceType property

2009-01-02 Thread Torgeir Veimo
On 2 Jan 2009, at 18:44, Torgeir Veimo wrote: Is it possible to use non-default scripts for resources that have no resourceType property? According to http://dev.day.com/microsling/content/blogs/main/slingrequestprocessrevisited.html , requesting /content/notes.html should end up

Re: script selector when resource has no resourceType property

2009-01-02 Thread Torgeir Veimo
/sling/trunk/samples/path-based-rtp/src/main/java/org/apache/sling/samples/pathbasedrtp/DefaultResourceTypeProvider.java -- Torgeir Veimo torg...@pobox.com

Re: default node type for webdav collections

2009-01-02 Thread Torgeir Veimo
On 3 Jan 2009, at 04:58, Felix Meschberger wrote: Torgeir Veimo schrieb: Do you know when? I have sling trunk from a few days ago running. Where Rev. 725679 dates from the 11. Dec. 2008. If I take the current sling svn trunk code, do a mvn install in the root, then a mvn install

Re: default node type for webdav collections

2009-01-03 Thread Torgeir Veimo
On 3 Jan 2009, at 20:35, Bertrand Delacretaz wrote: Hi, On Sat, Jan 3, 2009 at 7:09 AM, Torgeir Veimo torg...@pobox.com wrote: ...If I take the current sling svn trunk code, do a mvn install in the root, then a mvn install in launchpad/webapp, then use the resulting war file

Re: direct script execution

2009-01-05 Thread Torgeir Veimo
On 6 Jan 2009, at 07:19, Felix Meschberger wrote: Hi Torgeir, Torgeir Veimo schrieb: Is it possible to request a script directly, eg. use a request such as /apps/notes/html.esp, and make that script execute instead of being returned as plaintext? This is not currently possible (though

Re: [continuum] BUILD FAILURE: Sling - Apache Sling Scripting Core implementation -

2009-01-23 Thread Torgeir Veimo
on the list. -- Torgeir Veimo torg...@pobox.com

Re: tomcat + JNDI + sling 3

2009-02-12 Thread Torgeir Veimo
into the file system provider for Sling? It allows resources to be located on disk and thus would allow legacy support for JSPs stored as files through slings JSP support. -- Torgeir Veimo torg...@pobox.com

Re: SLING-857 patch

2009-02-27 Thread Torgeir Veimo
? -- Torgeir Veimo torg...@pobox.com

Re: SLING-857 patch

2009-02-27 Thread Torgeir Veimo
On 27 Feb 2009, at 19:44, Torgeir Veimo wrote: On 27 Feb 2009, at 16:24, Vidar Ramdal wrote: As for Torgeir's request [1] for a custom entity resolver, I haven't had time to look at it for now, but I believe it should be doable. This would just be a simple dependency injection? Aren't

Re: How can I realize authentication in sling?

2009-03-13 Thread Torgeir Veimo
handy to be able to express permission in terms of scripts, with an appropriate selector mechanism. -- Torgeir Veimo torg...@pobox.com

Re: sling for apachecon site

2009-03-13 Thread Torgeir Veimo
On 13 Mar 2009, at 15:23, David Nuescheler wrote: i am trying to make it out to apache con europe, but i am not sure that i definitely will make it. Is the informal get-together happening? I seem to recall that there wasn't enough people signing up for it. -- Torgeir Veimo torg

Re: JCR Explorer (was: Summer of Code is upon us)

2009-03-19 Thread Torgeir Veimo
, oDT: myDataTable }; }(); }); /script /body /html -- Torgeir Veimo torg...@pobox.com

Re: [POLL] getting rid of scripting (almost)

2009-04-01 Thread Torgeir Veimo
Well I think sling should be changed to work with flat file systems instead of JCR. Putting data into a typed node tree puts too many constraints on what data we can put into it. 2009/4/1 Felix Meschberger fmesc...@gmail.com Hi, Vidar Ramdal schrieb: On Wed, Apr 1, 2009 at 10:49 AM, Michael

Re: Contrib bundles.

2009-04-17 Thread Torgeir Veimo
-k2 and it's a bit vague, but it seems to be some sort of community software? -- Torgeir Veimo torg...@pobox.com

Re: look who's using sling..

2009-04-20 Thread Torgeir Veimo
Sorry false alarm, ipfw was pulling jokes on me... 2009/4/20 Alexander Klimetschek aklim...@day.com On Mon, Apr 20, 2009 at 11:22 AM, Torgeir Veimo torg...@netenviron.com wrote: http://plugins.jquery.com/index.html That gives a 404 and I didn't find anything when searching for Sling

look who's using sling..

2009-04-20 Thread Torgeir Veimo
http://plugins.jquery.com/index.html -- -Tor

Re: Security in Sling

2009-04-22 Thread Torgeir Veimo
The servlet container usually have default security policies defined, which can easily be changed. Eg for tomcat, look at conf/catalina.policy. Am not sure what facilities ogsi containers provide in this area though? 2009/4/22 Jukka Zitting jukka.zitt...@gmail.com Hi, I was thinking about the

Re: [VOTE] Graduate Apache Sling as a top level project

2009-05-18 Thread Torgeir Veimo
+1 -- -Tor

Re: Proxying Resoruces

2009-05-25 Thread Torgeir Veimo
2009/5/25 Felix Meschberger fmesc...@gmail.com:  * external redirects (hard coded support for regular expressions) Slightly unrelated, how would you go about accessing data in an external JCR repository? I assume some sort of proxy resource provider would be necessary? Eg. having user data

Re: Moving rewriter to contrib

2009-06-09 Thread Torgeir Veimo
2009/6/9 Carsten Ziegeler cziege...@apache.org: I've added a new bundle in our whiteboard: the rewriter. The rewriter bundle allows to rewrite the output from Sling. It is possible to configure a pipeline (based on SAX events) which processes the whole output. This pipeline can be used for

Re: GWT Tests with Sling

2009-06-25 Thread Torgeir Veimo
I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing this, basing their admin console on GWT. There might be an opportunity to put together an open source project here around this, since there would otherwise be a lot of duplicate effort,

Re: GWT Tests with Sling

2009-06-25 Thread Torgeir Veimo
2009/6/26 Felix Meschberger fmesc...@gmail.com: Hi, Torgeir Veimo schrieb: I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing this, basing their admin console on GWT. There might be an opportunity to put together an open source

Re: GWT Tests with Sling

2009-06-25 Thread Torgeir Veimo
2009/6/26 Felix Meschberger fmesc...@gmail.com: Hi, Torgeir Veimo schrieb: 2009/6/26 Felix Meschberger fmesc...@gmail.com: Hi, Torgeir Veimo schrieb: I'm in the development team of a new CMS which is based on Sling. It seems there are several that are doing this, basing their admin

[jira] Commented: (SLING-795) JSON dump of / children fails due to /system synthetic resource

2008-12-27 Thread Torgeir Veimo (JIRA)
[ https://issues.apache.org/jira/browse/SLING-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12659331#action_12659331 ] Torgeir Veimo commented on SLING-795: - http://localhost:8080/.1.json still fails

[jira] Commented: (SLING-857) Support XSL transformations when importing XML for initial-content

2009-02-24 Thread Torgeir Veimo (JIRA)
[ https://issues.apache.org/jira/browse/SLING-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12676298#action_12676298 ] Torgeir Veimo commented on SLING-857: - It would be handy to be able to specify a custom