[jira] Commented: (SLING-883) SlingNodeStore.newItem() adds item URI as property

2009-03-11 Thread Andreas Hartmann (JIRA)
[ https://issues.apache.org/jira/browse/SLING-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681028#action_12681028 ] Andreas Hartmann commented on SLING-883: Is the underscore syntax for the parameter

Re: Re: How can I realize authentication in sling?

2009-03-11 Thread Eric Norman
Hi yanjie, I attached a proposed patch to enable changing the ACL via a web form to http://issues.apache.org/jira/browse/SLING-879 I don't have rights to commit the changes to subversion, so it is pending review by one of the committers before it is becomes part of the sling distribution. You ma

[jira] Resolved: (SLING-880) Pluggable AccessManager

2009-03-11 Thread Vidar S. Ramdal (JIRA)
[ https://issues.apache.org/jira/browse/SLING-880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vidar S. Ramdal resolved SLING-880. --- Resolution: Fixed Assignee: Felix Meschberger (was: Vidar S. Ramdal) Patch uploaded, re

[jira] Updated: (SLING-880) Pluggable AccessManager

2009-03-11 Thread Vidar S. Ramdal (JIRA)
[ https://issues.apache.org/jira/browse/SLING-880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vidar S. Ramdal updated SLING-880: -- Attachment: SLING-880.patch Fix > Pluggable AccessManager > --- > >

Re: Can't resize images in Sling

2009-03-11 Thread Felix Meschberger
Hi Josh, This is the beauty of untyped languages: You are handing the "image" to the function, which is a Node, instead of the bImage you read from the node. Regards Felix On Wed, Mar 11, 2009 at 5:54 PM, Joshua Oransky wrote: > I'm trying to resize an image using basic Java2D, but I keep gett

Re: Can't resize images in Sling

2009-03-11 Thread Rory Douglas
I think you might have to add them to the Felix framework system or bootdelegation packes in order to be accessible (in sling.properties), see the comments for property org.osgi.framework.bootdelegation. The JRE classes are added to the org.osgi.framework.system.packages property depending on

Can't resize images in Sling

2009-03-11 Thread Joshua Oransky
I'm trying to resize an image using basic Java2D, but I keep getting this error: Can't find method sun .java2d .SunGraphics2D .drawImage (org.apache.jackrabbit.core.NodeImpl,number,number,number,number,null). This doesn't make any sense, as these classes are part of the basic JavaSE i

Re: Prefixes for JCR node names

2009-03-11 Thread Alexander Klimetschek
On Wed, Mar 11, 2009 at 11:14 AM, Andreas Hartmann wrote: > Hi Sling devs, > > sorry if this basic question has been answered before – I didn't find > anything. > > If I want to distinguish JCR item names belonging to my application from > user-generated items, my first idea would be to use a pref

Re: How can I realize authentication in sling?

2009-03-11 Thread Alexander Klimetschek
On Wed, Mar 11, 2009 at 10:26 AM, Andreas Hartmann wrote: > thanks for this great summary! Does it make sense to put it on the website > or on the Wiki? Yup, why not. Would be nice if you could do it ;-) One thing, which I forgot: the authentication module interface in Jackrabbit is the standard

Re: Prefixes for JCR node names

2009-03-11 Thread Rory Douglas
I believe you can access namespace-prefixed nodes using the namespace-mangling feature of the resource resolver, try: /tutorial/_app_content/content/chapter1 You can change the regex used for this mangling in the Felix webconsole configuration screen for "Apache Sling Resource Resolver" Howe

Prefixes for JCR node names

2009-03-11 Thread Andreas Hartmann
Hi Sling devs, sorry if this basic question has been answered before – I didn't find anything. If I want to distinguish JCR item names belonging to my application from user-generated items, my first idea would be to use a prefix: /tutorial /app:content > nt:resource /content

Re: How can I realize authentication in sling?

2009-03-11 Thread Andreas Hartmann
Hi Alex, thanks for this great summary! Does it make sense to put it on the website or on the Wiki? -- Andreas Alexander Klimetschek schrieb: On Tue, Mar 10, 2009 at 1:03 PM, Andreas Hartmann wrote: actually I didn't intend to do any beta-testing (yet), but somehow I got the impression th

[jira] Commented: (SLING-883) SlingNodeStore.newItem() adds item URI as property

2009-03-11 Thread Andreas Hartmann (JIRA)
[ https://issues.apache.org/jira/browse/SLING-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680792#action_12680792 ] Andreas Hartmann commented on SLING-883: This makes sense. I patched my sandbox acco

[jira] Closed: (SLING-538) SlingPropertyValueHelper.setPropertyAsIs() handles impossible empty-value-list case

2009-03-11 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-538. -- Resolution: Won't Fix Thanks Tobi for the information. So, I'll close this bug. > SlingProperty