Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79FF4362E for ; Sun, 8 May 2011 16:52:29 +0000 (UTC) Received: (qmail 52473 invoked by uid 500); 8 May 2011 16:52:28 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 52443 invoked by uid 500); 8 May 2011 16:52:28 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 52435 invoked by uid 99); 8 May 2011 16:52:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 May 2011 16:52:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.4.65.100] (HELO mail.datazug.ch) (212.4.65.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 May 2011 16:52:21 +0000 Received: from [192.168.1.25] [82.136.101.197] by mail.datazug.ch with ESMTP (SMTPD-10.02) id AA230298; Sun, 08 May 2011 18:51:47 +0200 Message-ID: <4DC6CA20.2080502@proxymit.net> Date: Sun, 08 May 2011 18:51:44 +0200 From: JCR User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Calling a resource from an OSGi bundle References: <4DC66673.6090508@proxymit.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-GBUdb-Analysis: 0, 192.168.1.25, Ugly c=0.303425 p=-0.263158 Source Normal X-MessageSniffer-Clean: Yes X-MessageSniffer-SNF-Group: OK X-Declude-Sender: jcr@proxymit.net [82.136.101.197] X-Declude-Spoolname: Dca2301bc00000312.smd X-Declude-RefID: X-RBL-Warning: outgoing Score [-12] at 18:51:55 on 08 May 2011 X-RBL-Warning: SENDERSCORE [5], ZEN [7], DZCLIENTS [-20] X-Country-Chain: SWITZERLAND->destination X-Recipcount: 1 X-HELO: [192.168.1.25] X-Identity: 82.136.101.197 | pub082136101197.dh-hfc.datazug.ch | jackrabbit.apache.org X-AUTH: Ycl2O2nriy X-DataZug-Note: ********************************************************************************** X-DataZug-Note: Scanned by Declude 4.10.59 (http://www.declude.com/x-note.htm) for spam. X-DataZug-Note: Scanned by MessageSniffer (http://www.armresearch.com/message-sniffer/) for spam. X-DataZug-Note: Please send abuse reports ONLY to abuse@telezug.ch X-DataZug-Note: ********************************************************************************** X-Virus-Checked: Checked by ClamAV on apache.org Yeap, wrong list, thanks anyway for the hint, Justin. Juerg On 08.05.2011 14:44, Justin Edelson wrote: > More of a Sling than a Jackrabbit question, no? > > In any case, you should be able to use the SlingRequestProcessor to do > this. Search the (sling) list archives for details. If you have > questions, post them to the sling users list, not the jackrabbit users > list. > > HTH, > > Justin > > On Sun, May 8, 2011 at 5:46 AM, JCR wrote: >> Hi all, >> >> I'm looking for a pattern to call a sling resource from within an OSGi >> bundle. >> >> My idea would be something with sling.include("/some/path.html"), but this >> does not seem to be possible, as it is not a service. >> So, another option would be to do a full-sized HTTP GET call, which sounds >> like a lot of overhead. >> >> Thanks for any ideas. >> Juerg >> >>