Hi Sylvain,
I hope I understand what you are trying to do. But here is what I would suggest.
1) Think about how you are going to structure your blog content ahead of time.
I would suggest something like /content/blog/year/month/post/comments. This way
your archive script does not need to query
org.apache.sling.launchpad-8-SNAPSHOT-standalone.jar
Sylvain
Le 30/12/2014 00:02, Henry Saginor a écrit :
Hi Sylvian,
Can you access Felix Web Console at http://localhost:8080/system/console?
How are you starting your Sling instance?
Henry
On Dec 29, 2014, at 2:30 PM, Sylvain Wallez sylv...@apache.org wrote
Hi Jalal,
I don’t know anything about SPNEGO. But you can implement your own
authentication handlers.
https://sling.apache.org/documentation/the-sling-engine/authentication/authentication-framework.html
Hi
Not sure if anyone has replied to you yet. But there is currently some work
being done on this [1]. The ticket also discusses some options available to you
now.
You can also create system users programmatically in the bundle activator.
[1] https://issues.apache.org/jira/browse/SLING-5355
Hi Junior
Apache Sling is a resource based framework. You create a content node such as a
web page (usually as JCR node in a JCR repository) with a property
sling:resourceType that is mapped to a location of your scripts and other
content properties that maybe specific to your application
Hi Lance,
I sometimes use this simple shell script [1] with file vault to import content
from one AEM instance to another. I am happy to share if it helps. I am not
sure if you are doing this between 2 sling instances though. But you should be
able to change it to use export instead of rcp. Of
it that way at all. I do have a lot of experience with Sling and
CQ/AEM as well. :)
> On Jan 31, 2017, at 12:57 PM, lancedolan <lance.do...@gmail.com> wrote:
>
> Henry Saginor-2 wrote
>> Hi Lance,
>>
>> I think a better practice is to register your servlet with a
Oh you beat to it.:) I had a similar approach for aggregating page specific
JavaScript via a fake resource and was going to provide a skeleton of it. But I
am glad you got it to work.
I want to add that Sling could probably benefit from Jersey-like ability to
generate web services from simple
Can’t you just create sling servlet registered to some resource type?
You can then simply create JCR node(s) mapped to your resource type.
You can also use a SynthaticResource via custom resource provider, which is the
track you’re on and what Steven is suggesting.
But I find that in most
In my opinion Sling is first and foremost a REST framework specifically
designed for this kind of thing. It’s not only to serve JCR content.
The paradigm Steven described earlier in this thread is EXACTLY the way to
implement it. In the Sling world the resource IS the RESTful object addressable
I believe jcr:created is a protected JCR property which means it can only be
set by the repository. This constraint is enforced by JCR implementation, not
by Sling.
As Steven suggested remove the line that explicitly sets it and it should work.
If you have a use case that requires setting a
Hi All,
Today we had a production issue with multiple null pointer exceptions in our
sling models.
Multiple fields with @Inject annotations were just not getting injected even
though they were not declared optional. Some of these field were content
properties and some common sling objects
d Sling models. This will make
> errors more apparent and you won’t get a fallback to the pojo provider.
>
> Santiago García Pimentel| Sr Software Engineer
> Netcentric Ibérica SLU
> M: +34687915463
> santiago.pimen...@netcentric.biz | www.netcentric.biz
>
>> On Sep 20, 2016
Hi,
I would like to run some server side react.js components in Sling. I was
experimenting with the esx engine [1] which works like a NodeJs loader and
allows you to load any valid Node module.
I am able to run the demo examples that come with that bundle. So, I installed
react npm module and
14 matches
Mail list logo