Re: Decoupling Sling from Launchpad

2014-08-11 Thread Ben Fortuna
Sling should run ootb in other runtimes by just deploying all relevant bundles into that runtime. Carsten 2014-08-11 3:01 GMT+02:00 Ben Fortuna fort...@users.sourceforge.net: Hi all, Just wondering if it is possible to decouple Sling from the Launchpad Base bundle. I am

Sling and link rewriter

2016-06-09 Thread Ben Fortuna
Hi, I am seeing a curious error when I try to inject a link transformer in the rewriter pipeline of Sling 8 (running in docker). It tells me that the HtmlSerializerFactory can't find the HtmlSerializer class, even though it is an inner class of the factory. I suspect the problem is that the

Re: Sling and link rewriter

2016-06-10 Thread Ben Fortuna
for the rewriter support? I will look around a bit more to see if I can find some better bundle to use. Many thanks. Regards, Ben On 11 Jun 2016 6:12 am, "Oliver Lietz" <apa...@oliverlietz.de> wrote: On Thursday 09 June 2016 18:20:31 Ben Fortuna wrote: > Hi, Hi Ben, > I am seeing a cu

Re: Sling and link rewriter

2016-06-11 Thread Ben Fortuna
%7Corg.apache.sling.rewriter%7C1.1.2%7Cbundle I also installed Cocoon serializers using this JAR: http://search.maven.org/#artifactdetails%7Corg.apache.cocoon%7Ccocoon-serializers-charsets%7C1.0.2%7Cbundle On Sat, Jun 11, 2016 at 12:29 PM, Ben Fortuna <benfort...@gmail.com> wrote: > Hi Oliver, > > Yes I di

Response content type when url has no extension

2016-06-21 Thread Ben Fortuna
Hi, Just wondering what is the standard practice for managing sling requests with no extension. My use case is that my index node is called 'index' so when I get a request for just the domain name root (ie. http://www.example.com/) it will redirect to my index but without an extension (ie.

Re: Sling and link rewriter

2016-06-17 Thread Ben Fortuna
* org.apache.sling.rewriter-1.1.2.jar Hopefully the OBR will be updated eventually to reflect these required dependencies (not sure of the process for updating OBR?) regards, ben On Tue, Jun 14, 2016 at 7:24 PM, Oliver Lietz <apa...@oliverlietz.de> wrote: > On Saturday 11 June 2016 18:39:08 Ben Fort

HTMLSerializer and unicode characters

2016-08-16 Thread Ben Fortuna
Hi everyone, I've noticed that when I have unicode special characters (e.g. emoji) in my sling content and the sling rewriter is enabled the characters are not output correctly to the browser. For example: becomes If I disable the rewriter pipeline the output is as expected. I've looked in

Re: How to create Rest APIs for non-JCR data in Sling 8??

2017-01-27 Thread Ben Fortuna
Hi Lance, I would personally recommend that you find a different solution for serving REST APIs. I also thought it might be good to service an API from Sling, as it does make JSON a "first class citizen", but then I realised that Sling is geared towards serving resources from JCR and ultimately

Re: How to create Rest APIs for non-JCR data in Sling 8??

2017-01-28 Thread Ben Fortuna
Hi Henry, I agree with what you say about keeping it simple and using a servlet. However there are many frameworks and platforms today geared towards making it easier to implement REST APIs, and I think non-trivial APIs would probably benefit from using one. As such, to me an API should live

Re: How to create Rest APIs for non-JCR data in Sling 8??

2017-01-29 Thread Ben Fortuna
y platform for REST and I haven't ran across > another that gives me the same flexibility. > > -- > Jason > > On Sat, Jan 28, 2017, at 05:27 PM, Ben Fortuna wrote: > > Hi Henry, > > > > I agree with what you say about keeping it simple and using a servlet. >

Re: How to create Rest APIs for non-JCR data in Sling 8??

2017-01-29 Thread Ben Fortuna
ell say, drop sling and > just use oak to store the data/content > > Greets > Roy > > > On 28 Jan 2017, at 23:27, Ben Fortuna <benfort...@gmail.com> wrote: > > > > Hi Henry, > > > > I agree with what you say about keeping it simple and using a servlet

Re: HTMLSerializer and unicode characters

2016-08-18 Thread Ben Fortuna
ing JIRA ticket with the steps to > reproduce the problem? > > stefan > > > >-Original Message- > >From: Ben Fortuna [mailto:benfort...@gmail.com] > >Sent: Tuesday, August 16, 2016 9:18 AM > >To: users@sling.apache.org > >Subject: HTMLSerializer and

Re: [slingstart-maven-plugin] configuring logs

2018-09-05 Thread Ben Fortuna
You could create a bundle that includes the following config (remove the third line to output to default log file, or remove filename to output to stdout): "org.apache.sling.commons.log.LogManager": { "jcr:primaryType":"sling:OsgiConfig", "org.apache.sling.commons.log.file": "debug.log",

Groovy script support in Sling 10

2018-03-16 Thread Ben Fortuna
Hi, As of Sling 10 my Groovy scripts have stopped working. Anyone else have this issue, or have an explanation of why this might be? Many thanks. regards, ben

Re: Groovy script support in Sling 10

2018-03-19 Thread Ben Fortuna
, ben On 19 March 2018 at 20:21, Bertrand Delacretaz <bdelacre...@apache.org> wrote: > Hi, > > On Fri, Mar 16, 2018 at 2:12 PM, Ben Fortuna <benfort...@gmail.com> wrote: > > ...As of Sling 10 my Groovy scripts have stopped working. Anyone else > have > > this

Re: [question] 2 sling instances behind one apache server sharing 1 session

2018-12-09 Thread Ben Fortuna
Hi Ruben, If you are logged in to your sling CMS is it to author content? If so, how do you maintain consistency when load balancing across two nodes? If you are not authoring, is the session to authenticate custom CMS extensions to sing? In such scenario general advice seems to be externalising

Vanilla Sling and caconfig

2023-02-22 Thread Ben Fortuna
Hi all, Apologies for the novice question, just trying to understand how to use caconfig with a vanilla Sling install. It seems that to resolve a config lookup (via sling:configRef -> /conf/example) I need to be logged in as Sling admin for it to resolve correctly. If I am not logged in, the

Re: Vanilla Sling and caconfig

2023-02-23 Thread Ben Fortuna
evant. the caconfig resolver always uses the access rights of the > resource resolver the current user (or anonymous) is using. > > stefan > > > -Original Message- > > From: Ben Fortuna > > Sent: Thursday, February 23, 2023 2:05 AM > > To: users@sling.apache.org >