On Fri, Jun 26, 2009 at 10:30 AM, Carsten Ziegelercziege...@apache.org wrote:
Hi,
while changing the script resolution in the last days a little bit to
make it cacheable, I stumbled across the handling of the resource super
type.
The jcr resource implementation checks if the node has the
hi,
according to jsr283 (see 16.2.3), the jcr:write is an aggregate privilege:
• jcr:write: An aggregate privilege that contains:
o jcr:modifyProperties
o jcr:addChildNodes
o jcr:removeNode
o jcr:removeChildNodes
so, jcr:write should be sufficient. i can imagine, that the individual
privilege
[
https://issues.apache.org/jira/browse/SLING-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12713080#action_12713080
]
Tobias Bocanegra commented on SLING-649:
Even with the value attribute included
try '' as delimiter.
see: http://en.wikipedia.org/wiki/Query_string
and:
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Functions/encodeURIComponent
regards, toby
2009/5/12 vkrejcirik vkrejci...@gmail.com:
I need to create more properties with HTTP request. When I
On Tue, May 5, 2009 at 3:26 PM, Carsten Ziegeler cziege...@apache.org wrote:
Ian Boston wrote:
Are there any facilities in sling for registering jcr event listeners ?
Both the external javax.jcr.observation.EventListener and the
SynchronousEventListener type.
No we don't have extra support
On Wed, Apr 22, 2009 at 12:41 PM, Felix Meschberger fmesc...@gmail.com wrote:
Hi,
Jukka Zitting schrieb:
Hi,
I was thinking about the implications of giving a user write access to
a subtree of the repository. With that access the user could now
upload a new script and create a node that
hi,
those 2 files are missing the apache license header.
regards, toby
btw: i think .* imports are discouraged by apache coding conventions.
On Fri, Apr 17, 2009 at 7:12 PM, vram...@apache.org wrote:
Author: vramdal
Date: Fri Apr 17 17:12:57 2009
New Revision: 766087
URL:
[
https://issues.apache.org/jira/browse/SLING-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12693622#action_12693622
]
Tobias Bocanegra commented on SLING-902:
see also my suggestions in http
[
https://issues.apache.org/jira/browse/SLING-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12680619#action_12680619
]
Tobias Bocanegra commented on SLING-538:
the value handling should work like
[
https://issues.apache.org/jira/browse/SLING-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12679593#action_12679593
]
Tobias Bocanegra commented on SLING-590:
while a think that backward compatibility
On 2/18/09, Carsten Ziegeler cziege...@apache.org wrote:
Tobias Bocanegra wrote:
just out of curiosity: why is jcrinstall not in jcr ? i find it
awkward, that a JCR based framework keeps a JCR based bundle/config
loading in contrib :-)
:)
Actually I agree that jcrinstall should
just out of curiosity: why is jcrinstall not in jcr ? i find it
awkward, that a JCR based framework keeps a JCR based bundle/config
loading in contrib :-)
regards, toby
On 2/17/09, Carsten Ziegeler cziege...@apache.org wrote:
Hi,
we recently discussed the new structure for our source tree.
[
https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12670740#action_12670740
]
Tobias Bocanegra commented on SLING-848:
content/home/tobi.selector.html?sling:v
Versions: Servlets Post 2.0.2
Reporter: Tobias Bocanegra
Priority: Minor
when sending a POST with only an order parameter, no changes are recorded.
eg:
POST /content/a
:order before b
i see 3 solutions:
1) either a new modification type order should be added,
2) or the parent
[
https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12670288#action_12670288
]
Tobias Bocanegra commented on SLING-848:
that's was i feared. using the ; parameters
[
https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12669988#action_12669988
]
Tobias Bocanegra commented on SLING-848:
but do you want to add this to the resource
[
https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12669953#action_12669953
]
Tobias Bocanegra commented on SLING-848:
you mean: something/hello.html;v=1.1
[
https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12670136#action_12670136
]
tripod edited comment on SLING-848 at 2/3/09 2:06 PM:
so
[
https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12670136#action_12670136
]
Tobias Bocanegra commented on SLING-848:
so consequently (according to rfc3986
Remove/reduce 90 seconds wait time
--
Key: SLING-838
URL: https://issues.apache.org/jira/browse/SLING-838
Project: Sling
Issue Type: Wish
Components: Event
Reporter: Tobias Bocanegra
: Scripting API 2.0.2
Reporter: Tobias Bocanegra
albeit the JcrPropertyMap supports arrays, the wrapper does not and yields to
unexpected problems when using it.
eg: i use the following code, to get a detached copy of a jcr property map:
Node content = node.getNode
[
https://issues.apache.org/jira/browse/SLING-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated SLING-832:
---
Attachment: ValueMapDecorator.r735030.patch
fixes this issues by supported array types
hi josh,
only the packages exported by the bundles or the ones specified as
bootclasspath (via sling.properties config) are visible by other
bundles and jsps. in this case it's a bit difficult, since the
crx-explorer stuff is not available as bundle and i doubt that it will
work. why would you
[
https://issues.apache.org/jira/browse/SLING-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12660456#action_12660456
]
Tobias Bocanegra commented on SLING-799:
now I would prefer to use a sorted query
Affects Versions: Extensions Event 2.0.2
Reporter: Tobias Bocanegra
check code of
AbstractRepositoryEventHandler.ensureRepositoryPath()
/**
* Check if the repository path already exists. If not, create it.
*/
protected Node ensureRepositoryPath()
throws
[
https://issues.apache.org/jira/browse/SLING-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12660385#action_12660385
]
Tobias Bocanegra commented on SLING-799:
the net effect should
hi josh,
this is not quite the correct place to ask this question :-)
however, take a look at the browser/content.jsp in crx how to do it.
regards, toby
On 12/30/08, Joshua Oransky cazza...@gmail.com wrote:
How exactly can I programmatically trigger replication on a node on
CRX?
[
https://issues.apache.org/jira/browse/SLING-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated SLING-797:
---
Attachment: EventUtil-r712058.patch
patch that fixes this issue
: Event
Affects Versions: Extensions Event 2.0.2
Reporter: Tobias Bocanegra
Attachments: EventUtil-r712058.patch
The type checks in getNodePropertyValue() are the wrong way around and never
find the respective JCR property type.
--
This message is automatically generated
On 12/19/08, Torgeir Veimo torg...@pobox.com wrote:
On 19 Dec 2008, at 23:44, Felix Meschberger wrote:
Really, so then we have be slightly different:
cron_root
+--- admin
+ crontab of admin
+--- xyz
+ crontab of user xyz
If you're
[
https://issues.apache.org/jira/browse/SLING-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12657739#action_12657739
]
Tobias Bocanegra commented on SLING-784:
either you create a new node, and then you
[
https://issues.apache.org/jira/browse/SLING-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12657520#action_12657520
]
Tobias Bocanegra commented on SLING-784:
imo the mixins should work the same
On 12/14/08, Carsten Ziegeler cziege...@apache.org wrote:
Tobias Bocanegra wrote:
what's wrong with commons-lang StringEscapeUtils.escapeHTML [0] ?
or with jstl c:out [1] ?
Nothing, but it adds another dependency. Writing an escape function is
not rocket science, so we might rather add
hi all,
On 12/13/08, Carsten Ziegeler cziege...@apache.org wrote:
Hi,
currently we don't have support in Sling for encoding outputted text
according to HTML. Values of properties are directly written into the
output stream. If these values contain angle brackets the content will
be
[
https://issues.apache.org/jira/browse/SLING-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12653712#action_12653712
]
Tobias Bocanegra commented on SLING-760:
me neither - i think it's the task
On 11/28/08, Alexander Klimetschek [EMAIL PROTECTED] wrote:
IMHO a good practice for sling apps is to always define a node type
for all the resources (or at least a mixin) they will handle. This
node type
a) defines a sling:resourceType with a default value (but one that can
be changed
On 11/26/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi all,
After the big reorganization of servlet resolution in April of this year
and some more experiences with using Sling, I propose the extension of
our servlet/script resolution process.
Actually it is a single change only:
On 11/17/08, Bertrand Delacretaz [EMAIL PROTECTED] wrote:
Hi,
Currently the names of folders where jcrinstall looks for bundles and
configuration nodes are based on configurable regular expressions,
independent from the RunMode service.
Rethinking that, I'd like to introduce a
Components: JCR Install
Affects Versions: JCR Install 2.0.4
Reporter: Tobias Bocanegra
Fix For: JCR Install 2.0.4
currently jcrinstall does not respect the search paths correctly.
the idea is, that configuration (and bundles) residing in /apps/{path} should
win over
hi,
can you check the node type of the jcr:content node of your jsp file?
if it's nt:unstructured, try to change it to nt:resource and see if it works.
regards, toby
On 10/29/08, Joshua Oransky [EMAIL PROTECTED] wrote:
I'm at a loss here... for some reason, I can not get JSPs to execute... a
On 10/29/08, Dan Tenenbaum [EMAIL PROTECTED] wrote:
Is it possible? Similarly, can one add a node type via a URL query?
unfortunately, not.
regards, toby
On 10/21/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi all,
Just out of curiosity, I profiled, my stupid test. And this profiling
revealed an intersting situation
Without the session pool, logging out is fast. Logging in is not that
fast at all.
With the session pool, logging in
Affects Versions: JCR Jackrabbit Client 2.0.2
Reporter: Tobias Bocanegra
the JCR repository client session pool should initially be disabled. change the
default value of max idle pool sessions to 0.
the overhead of acquiring and releasing sessions is bigger than the performance
gain from
hi josh,
make sure you installed all recent sling bundles on your target crx.
it seems that some node have a wrong nodetype.
regards, toby
On 9/29/08, Joshua Oransky [EMAIL PROTECTED] wrote:
I create and download a package fine on my dev machine. I upload the zip to
the main test in CRX and I
: JCR Install
Reporter: Tobias Bocanegra
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[
https://issues.apache.org/jira/browse/SLING-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated SLING-684:
---
Attachment: jcrinstall-r698192.patch
uses ConfigurationHandler to read the properties
[
https://issues.apache.org/jira/browse/SLING-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12635838#action_12635838
]
Tobias Bocanegra commented on SLING-686:
another drawback of this suggestion
hi,
i think this is intended and the value is the length of the binary property.
regards, toby
On 9/23/08, Michael Marth [EMAIL PROTECTED] wrote:
Hi,
for the json presentation of nt:resource nodes I get one property with
prefix :jcr: instead of jcr:. Is this the expected behavior?
On 9/19/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi all,
Until SLING-663 [1] the sling:Folder node type was turned into an
extension of nt:folder. This is basically good.
The consequence of this is more restrictions on child nodes: Before
SLING-663 a sling:Folder a child node of
Project: Sling
Issue Type: Improvement
Components: JCR Resource
Reporter: Tobias Bocanegra
when calling ValueMap.get(name, String[].class) and empty array is returned
if the underlying jcr property is not
multivalued. this is very inconvenient.
imo get() for arrays
Make sling:Folder more folder like
--
Key: SLING-663
URL: https://issues.apache.org/jira/browse/SLING-663
Project: Sling
Issue Type: Wish
Components: API
Reporter: Tobias Bocanegra
hi josh,
one solution is to use another selector or resource type for your
included script.
eg:
/page
page.jsp
content.jsp
and in page.jsp you do:
sling:include forceSelector=content /
this will select the content.jsp as script when including 'this'
resource. the draw back of this is, that
On 9/7/08, Carsten Ziegeler [EMAIL PROTECTED] wrote:
Bertrand Delacretaz wrote:
IIUC what you're saying is that you wouldn't want to support reading
OSGi configurations from text files found in the repository?
That is supported by the Felix fileinstall stuff (IIRC), and we'd like
On 8/30/08, Alexander Klimetschek [EMAIL PROTECTED] wrote:
On Fri, Aug 29, 2008 at 8:33 PM, Tobias Bocanegra
[EMAIL PROTECTED] wrote:
how about stalling requests until the update is complete ?
Good idea. This would also save one from all the other problems you
can get (html node render
On 8/29/08, Alexander Klimetschek [EMAIL PROTECTED] wrote:
Hi all,
I currently have the need to create a path by posting to the
SlingPostServlet, eg. /some/very/long/path, where only /some exists,
and very/long/path has to be created in the repo. Now I miss two
features in the current
how about stalling requests until the update is complete ?
regards, toby
On 8/29/08, Alexander Klimetschek [EMAIL PROTECTED] wrote:
Hi all,
when I update a bundle containing a servlet (eg. servlet path =
/bin/myservlet) and I hit my curl command for testing that servlet
(POST to
[
https://issues.apache.org/jira/browse/SLING-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12625354#action_12625354
]
Tobias Bocanegra commented on SLING-627:
i think virtual url should just allow
[
https://issues.apache.org/jira/browse/SLING-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12625487#action_12625487
]
Tobias Bocanegra commented on SLING-601:
initially the counter just counted
[
https://issues.apache.org/jira/browse/SLING-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12624982#action_12624982
]
tripod edited comment on SLING-619 at 8/22/08 2:20 PM:
-
[
https://issues.apache.org/jira/browse/SLING-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated SLING-587:
---
Attachment: jcr_bundles-r687661.patch
provided patch implements a very simple queue
hi,
the FormEncoding parameter was renamed to _charset_ (see [0]):
so:
input name=_charset_ type=hidden value=UTF-8/
should do the trick.
regards, toby
[0] https://issues.apache.org/jira/browse/SLING-298
On 8/19/08, Juerg Meier [EMAIL PROTECTED] wrote:
Hi all,
This problem is driving me
On 8/15/08, Alexander Klimetschek [EMAIL PROTECTED] wrote:
Hi all,
if you use both the standard servlet/script resolution using an
explicit resource type (eg. myapp/foobar) and sometimes (for
convenience) via the node type (eg. my:type) you get mixed locations
for both scripts:
On 8/13/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi Outta,
Outta Sight schrieb:
I'm looking for an example of how to perform versioned POSTs (POST.esp)
and also how to access a list of these versions (versions.esp) for any node.
It seems that this sort of capability must be scripted
[
https://issues.apache.org/jira/browse/SLING-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12622331#action_12622331
]
Tobias Bocanegra commented on SLING-611:
... only props who's name or type
hi,
currently sling uses @scr javadoc comments to specify the bindings
from the request infos to servlets. for example:
/**
* @scr.service
* @scr.property name=sling.servlet.resourceTypes values=bin/test
* @scr.property name=sling.servlet.extensions values=txt, html
*/
public class
On 8/7/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi,
It seems that your cached version of the dojo release file is corrupt. Just
remove the download-cache folder and rebuild. This should do the trick.
ok, i'll try. thanks.
--
toby
Regards
Felix
Tobias Bocanegra schrieb:
hi
/ServletResponse.html#isCommitted()
regards, toby
On Mon, Aug 4, 2008 at 1:19 AM, Tobias Bocanegra
[EMAIL PROTECTED]wrote:
On 8/3/08, janandith jayawardena [EMAIL PROTECTED] wrote:
Hi,
*replaceSuffix:*
I read the following blog post while exploring replaceSuffix
On 8/4/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi all,
After following this discussion, I fear we are missing some facts. Let
me recount them here:
(1) Not (only) the SlingPostServlet treats existing and
non-existing resources differently. Sling's resource
resolver
:-).
Janandith.
On Mon, Aug 4, 2008 at 6:42 PM, Tobias Bocanegra [EMAIL PROTECTED]
wrote:
On 8/4/08, janandith jayawardena [EMAIL PROTECTED] wrote:
Hi Toby,
i see mainly 2 purposes for the suffix,:
1. as an additional way of transporting a path
hi,
On 7/31/08, Lars Trieloff [EMAIL PROTECTED] wrote:
Hi Toby,
On Jul 31, 2008, at 21:01 , Tobias Bocanegra wrote:
Hi,
we are not violating the idempotency of the PUT (disguised as a
POST)
1. POST /foo.bar.html (foo=bar)
2. GET /foo.bar.html
3. POST
On 8/1/08, Lars Trieloff [EMAIL PROTECTED] wrote:
Hi,
Not necessarily. The HTTP spec mentions headers explicitly for content
negotiation
(http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html)
and there might be enough cases where a resource (!) happens to have a
name
[
https://issues.apache.org/jira/browse/SLING-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618647#action_12618647
]
Tobias Bocanegra commented on SLING-592:
i think in this picture the node name just
to browser
limitations...)
based on the existence of a node. I think that would violate the idempotent
behavior that we had on the PUT oriented operations in the
slingpostservlet.
regards,
david
On Wed, Jul 30, 2008 at 1:46 PM, Tobias Bocanegra
[EMAIL PROTECTED] wrote:
On 7
On 7/31/08, Lars Trieloff [EMAIL PROTECTED] wrote:
Hi Toby,
On Thu, Jul 31, 2008 at 1:27 PM, Tobias Bocanegra
[EMAIL PROTECTED]wrote:
On 7/30/08, Lars Trieloff [EMAIL PROTECTED] wrote:
Hi,
we are not violating the idempotency of the PUT (disguised as a POST)
1. POST
[
https://issues.apache.org/jira/browse/SLING-594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618813#action_12618813
]
Tobias Bocanegra commented on SLING-594:
As there is no real use case for pre
[
https://issues.apache.org/jira/browse/SLING-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra closed SLING-569.
--
great, thanks.
Add ValueWrappedMap (implements ValueMap
Reporter: Tobias Bocanegra
Priority: Minor
the JcrPropertyMap should check for a javax.jcr.Property type class and return
the property if exists.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Components: Scripting JSP
Reporter: Tobias Bocanegra
Priority: Minor
sling:defineObject/ should add a 'properties' as page context variable from
resource.adaptTo(ValueMap.class)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add
[
https://issues.apache.org/jira/browse/SLING-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618278#action_12618278
]
Tobias Bocanegra commented on SLING-589:
i want to 'inspect' a jcr property
[
https://issues.apache.org/jira/browse/SLING-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618296#action_12618296
]
Tobias Bocanegra commented on SLING-589:
yes. sorry, i was a bit unclear
On 7/30/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi,
all taking this to the list for discussion because Lars it making some
important points.
Lars Trieloff (JIRA) schrieb:
If you could decide for a way of fixing the NPE, I would be glad
to have a working workaround. (and
On 7/30/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi,
Tobias Bocanegra schrieb:
On 7/30/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Now, in the meantime we have applied various changes to the
SlingPostServlet, which influence the creation of the name of a node to
create
[
https://issues.apache.org/jira/browse/SLING-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618368#action_12618368
]
Tobias Bocanegra commented on SLING-592:
what do you mean by property ? SNS is about
[
https://issues.apache.org/jira/browse/SLING-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12618460#action_12618460
]
Tobias Bocanegra commented on SLING-592:
no, a jcr node name does never reflect
[
https://issues.apache.org/jira/browse/SLING-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12617735#action_12617735
]
Tobias Bocanegra commented on SLING-588:
i would rather not change the way how node
[
https://issues.apache.org/jira/browse/SLING-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12617779#action_12617779
]
Tobias Bocanegra commented on SLING-588:
because the 'addressed resource' would
On 7/29/08, Bertrand Delacretaz [EMAIL PROTECTED] wrote:
Hi,
On Mon, Jul 28, 2008 at 7:33 PM, Carsten Ziegeler [EMAIL PROTECTED] wrote:
...There is already an OSGi specification - the deployment admin
specification
- which allows you to package a set of bundles together with
On 7/28/08, David Nuescheler [EMAIL PROTECTED] wrote:
On Mon, Jul 28, 2008 at 9:42 AM, Bertrand Delacretaz
[EMAIL PROTECTED] wrote:
On Fri, Jul 25, 2008 at 2:25 PM, Tobias Bocanegra
[EMAIL PROTECTED] wrote:
...i'm looking for a way to include a jsp script from within another
On 7/28/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi,
Bertrand Delacretaz schrieb:
On Fri, Jul 25, 2008 at 10:10 PM, Tobias Bocanegra
[EMAIL PROTECTED] wrote:
...i think it would be sufficient if i could set a temporary selector
that takes precedence from the real ones
Reporter: Tobias Bocanegra
I'm looking for a way to include a jsp script from within another but
respecting the resource type hierarchy. so for example:
+ myapp
+ A
+ A.jsp
+ content.jsp
+ B
- sling:resourceSuperType = A
+ B.jsp
and in my B.jsp i want to include
Components: Scripting JSP
Reporter: Tobias Bocanegra
Priority: Minor
I'm looking for a way to include a jsp script from within another but
respecting the resource type hierarchy. so for example:
+ myapp
+ A
+ A.jsp
+ content.jsp
+ B
hi,
On 7/28/08, Rory Douglas [EMAIL PROTECTED] wrote:
I have registered a couple of custom nodetypes with corresponding rendering
scripts html.jsp in the appropriate folder. Now I'd like to include a few
simple forms to create that node type (re-using as much existing
functionality as
hi all,
i'm looking for a way to include a jsp script from within another but
respecting the resource type hierarchy. so for example:
+ myapp
+ A
+ A.jsp
+ content.jsp
+ B
- sling:resourceSuperType = A
+ B.jsp
and in my B.jsp i want to do something like:
to resource.txt replaceSuffix=.html /
hmm...iirc, in this case the 'html' scripts are used instead of the
.txt scripts.
On Fri, Jul 25, 2008 at 7:48 PM, Felix Meschberger [EMAIL PROTECTED]
wrote:
Hi Toby,
Tobias Bocanegra schrieb:
hi all,
i'm looking for a way to include a jsp
hi felix,
On 7/25/08, Felix Meschberger [EMAIL PROTECTED] wrote:
Hi Toby,
Tobias Bocanegra schrieb:
hi all,
i'm looking for a way to include a jsp script from within another but
respecting the resource type hierarchy. so for example:
+ myapp
+ A
+ A.jsp
[
https://issues.apache.org/jira/browse/SLING-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12615924#action_12615924
]
Tobias Bocanegra commented on SLING-577:
this is already possible when using JSTL
On 7/18/08, Paul Noden [EMAIL PROTECTED] wrote:
Janandith,
I think I misunderstood what sling:include does slightly, it seems
sling:include is only designed to include different scripts for the
same resource, useful if you have broken your output into several
scripts driven by
Components: Scripting JSP
Affects Versions: Scripting JSP 2.0.2
Reporter: Tobias Bocanegra
For example for a JSP compile error the 'realException' is null and the
following stack-frame resolution fails:
(JspServletWrapper.java, line 492ff)
// First identify the stack
On 7/15/08, janandith jayawardena [EMAIL PROTECTED] wrote:
Hi,
How can I use selectors and suffix with sling:include tag.
you can either replace the selectors by:
sling:include ... replaceSelectors=foo.bar /
or add an additional ones by:
sling:include ... addSelectors=foo.bar /
and set
: Scripting API 2.0.2
Reporter: Tobias Bocanegra
Priority: Minor
Currently the ValueMap is only implemented by the JcrPropertyMap.
suggest to add a ValueWrappedMap that wraps a Map.
further the ValueMap should then provide a EMPTY static map.
--
This message
1 - 100 of 380 matches
Mail list logo