An interesting use case is microsites.
How can I have a set of templates for one domain and another set templates for
another. It seems like that should be included in the request processing
design.
Taking the domain name into account in the request processing may facilate
different content
[
https://issues.apache.org/jira/browse/SLING-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569466#action_12569466
]
Tobias Bocanegra commented on SLING-245:
yes.
> After reinstalling sling core, serv
thanks for fixing this.
i think we should hard-code it to Locale.US for now and see if there
is a problem with this.
regards, toby
On 2/14/08, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Am Dienstag, den 12.02.2008, 12:53 -0800 schrieb Tobias Bocanegra
> (JIRA):
> > [
> > https://i
-1 using thread local is very dangerous and can cause memory leaks
i strongly recommend to reconsider this approach. whenever i
encountered the problem that i need a resource resolver but did't had
the request handy - it was a flaw in my architecture of my classes.
regards, toby
On 2/14/08, Feli
[
https://issues.apache.org/jira/browse/SLING-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569441#action_12569441
]
Bertrand Delacretaz commented on SLING-249:
---
Can't you use mod_proxy for that, or
> (2) I would really like to table the sling API discussions for a while
> and let us all gather some experience with what we have before we
> we start modifying the API. From my personal perspective the
> constant change in the sling API is the biggest problem for the
> few early adopters we
[
https://issues.apache.org/jira/browse/SLING-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Trieloff updated SLING-250:
Attachment: 250-fix.patch
The attached patch adds special parsing for paths starting with /.
> JSON
[
https://issues.apache.org/jira/browse/SLING-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Trieloff updated SLING-250:
Attachment: 250-test.patch
I've extended the patch to include an actual suffix. Here the results are
[
https://issues.apache.org/jira/browse/SLING-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Trieloff updated SLING-250:
Attachment: 250-test.patch
The following patch extends the test cases to demonstrate the root proble
Hi Felix,
when I use
var node = resource.adaptTo(Packages.javax.jcr.Node)
I get an exception
"Cannot find function adaptTo".
(I guess this is a temporary problem. Or does it work for you?)
> Which is probably an error as it introduces an API in JavaScript which
> is not paralelled by the other
Hi,
On Fri, Feb 15, 2008 at 5:19 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> Am Freitag, den 15.02.2008, 15:47 +0100 schrieb Michael Marth:
> > Maybe it would be helpful if we had some additional script resolution based
> > on URLs or paths. In my example I could map a script to nt:resou
hi guys,
> var node = resource.adaptTo(Packages.javax.jcr.Node)
i personally think this sucks since it is going to be a
cryptic part in the beginning of all my esp scripts...
in my view this really should be hidden. the point of
using scripting is to hide all the unnecessary detail of whats
goi
JSON serialization of repository root does not include child nodes
--
Key: SLING-250
URL: https://issues.apache.org/jira/browse/SLING-250
Project: Sling
Issue Type: Bug
Am 15.02.2008 um 16:27 schrieb David Nuescheler:
I think we should
even think of Resources that do not even have the concept of a
hierarchy
No, the hierarchy of resources drives the mapping of URLs to
resources. Therefore sling depends on that, and IMHO it should be part
of the resource'
Hi,
Am Freitag, den 15.02.2008, 11:43 +0100 schrieb Michael Marth:
> Hi Felix,
>
> >
> > > But if I try to access something like $resource.node (which I would have
> > > expected) Velocity does not recognize the expression. How do I get to
> > the
> > > node? Do I have the wrong syntax? I looked
[
https://issues.apache.org/jira/browse/SLING-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569289#action_12569289
]
Felix Meschberger commented on SLING-249:
-
and when implementing we should not
Cool. Thanks and a nice weekend to you, too.
Regards
Felix
Am Freitag, den 15.02.2008, 16:28 +0100 schrieb Vidar Ramdal:
> > Am Freitag, den 15.02.2008, 15:52 +0100 schrieb Vidar Ramdal:
> > > OK, last question before I call it a weekend:
> > >
> > > I'd like to host multiple sites (internet d
[
https://issues.apache.org/jira/browse/SLING-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Marth closed SLING-248.
---
yup, this works. thanks.
> esps not executed quite correctly
> -
>
>
> Am Freitag, den 15.02.2008, 15:52 +0100 schrieb Vidar Ramdal:
> > OK, last question before I call it a weekend:
> >
> > I'd like to host multiple sites (internet domains) on a single Sling
> > app. How can I map a domain to a JCR node?
> >
> > Example:
> > www.domain1.com maps to /content/
Allow mapping nodes to internet domains
---
Key: SLING-249
URL: https://issues.apache.org/jira/browse/SLING-249
Project: Sling
Issue Type: New Feature
Reporter: Vidar S. Ramdal
Sling should s
Hi guys,
I agree with Lars.
on top of that I would like to mention the following things:
(1) I feel like with a getChildren() method we slowly see
parts of the Node interface sneak in through the back door.
I think it is fairly public that I am not a big fan of the abstraction
from Node but now
Hi Michael,
Am Freitag, den 15.02.2008, 15:47 +0100 schrieb Michael Marth:
> Hi Felix,
>
> thanks a lot - I'll give it a try.
Cool.
>
> Maybe it would be helpful if we had some additional script resolution based
> on URLs or paths. In my example I could map a script to nt:resource if the
> res
Hi Vidal,
Am Freitag, den 15.02.2008, 15:52 +0100 schrieb Vidar Ramdal:
> OK, last question before I call it a weekend:
>
> I'd like to host multiple sites (internet domains) on a single Sling
> app. How can I map a domain to a JCR node?
>
> Example:
> www.domain1.com maps to /content/domain1.co
[
https://issues.apache.org/jira/browse/SLING-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-248.
-
Resolution: Invalid
You should use the compact expression notation "${...}" instead of "<%
[
https://issues.apache.org/jira/browse/SLING-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger updated SLING-248:
Component/s: (was: Launchpad)
Scripting
Fix Version/s: 2.0.0
>
[
https://issues.apache.org/jira/browse/SLING-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger reassigned SLING-248:
---
Assignee: Felix Meschberger
> esps not executed quite correctly
>
OK, last question before I call it a weekend:
I'd like to host multiple sites (internet domains) on a single Sling
app. How can I map a domain to a JCR node?
Example:
www.domain1.com maps to /content/domain1.com
www.domain2.com maps to /content/domain2.com
An option would be to redirect the brow
Hi Vidal,
Am Freitag, den 15.02.2008, 15:39 +0100 schrieb Vidar Ramdal:
> On 2/15/08, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> > Hi Vidal,
> >
> > The sling.servlet.resourceTypes annotation is required, otherwise the
> > servlet is just ignored. That is, in your first example, where you ju
Hi Felix,
thanks a lot - I'll give it a try.
Maybe it would be helpful if we had some additional script resolution based
on URLs or paths. In my example I could map a script to nt:resource if the
resource is below /content/mails or so. Such a mechanism could really be
helpful for users that have
On 2/15/08, Felix Meschberger <[EMAIL PROTECTED]> wrote:
> Hi Vidal,
>
> The sling.servlet.resourceTypes annotation is required, otherwise the
> servlet is just ignored. That is, in your first example, where you just
> define the sling.servlet.extensions, Sling does not know to which
> resource
Hi Vidal,
The sling.servlet.resourceTypes annotation is required, otherwise the
servlet is just ignored. That is, in your first example, where you just
define the sling.servlet.extensions, Sling does not know to which
resource type the servlet applies and cannot handle it.
@scr.property name="s
Hi Michael,
I just updated the jcr/resource module to create a sling:Resource mixin
node type, which defines a sling:resourceType property as a String. You
may attach this mixin node type to your mail node and set resource type
accordingly. This gives you the full flexibility to render your mail
s
esps not executed quite correctly
-
Key: SLING-248
URL: https://issues.apache.org/jira/browse/SLING-248
Project: Sling
Issue Type: Bug
Components: Launchpad
Environment: windows xp, java 5
Hi Carsten,
I have to disagree. Treating all languages the same will result in an
API that does not match the concepts of most languages supported.
Different programming languages have different concepts and if possible,
we should support these concepts.
This does not interfere with implementing
I'm trying to register a servlet to handle requests with a ".menu" extension:
* @scr.property
* name="sling.servlet.extensions"
* value="menu"
Then I post some content:
curl -F"sling:resourceType=foo/bar" -F"title=some title"
http://admin:[EMAIL PROTECTED]:/content/mynode
If I now visit
Hi,
I have an existing content model and want to build a sling app on top. The
model is Jukka Zitting's mail model he coded for James (see [1]). One mail
is stored as:
nt:file
|-jcr:content (unstructured)
|- from (string)
|- to (string)
|- jcr:data (binary)
...
In order to display a mail v
Hi Felix,
>
> > But if I try to access something like $resource.node (which I would have
> > expected) Velocity does not recognize the expression. How do I get to
> the
> > node? Do I have the wrong syntax? I looked at the src of JcrNodeResource
> and
> > expected to be able to use something like
[
https://issues.apache.org/jira/browse/SLING-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569219#action_12569219
]
Felix Meschberger commented on SLING-154:
-
> add all methods
This is actually the i
[
https://issues.apache.org/jira/browse/SLING-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Nuescheler reopened SLING-154:
add all methods of the Node interface to ScriptableNode
> Allow access to Node and Property Met
[
https://issues.apache.org/jira/browse/SLING-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569217#action_12569217
]
David Nuescheler commented on SLING-154:
I was recently looking for the "addNode()"
Provide Scripting variables as request attributes for JSP
-
Key: SLING-247
URL: https://issues.apache.org/jira/browse/SLING-247
Project: Sling
Issue Type: Improvement
Componen
41 matches
Mail list logo