Re: [RT] Handling html output

2008-12-14 Thread Carsten Ziegeler
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 our own instead of adding a dep to another lib just because of ten

Re: [RT] Handling html output

2008-12-14 Thread Tobias Bocanegra
On 12/14/08, Carsten Ziegeler 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 our own inste

Re: [RT] Handling html output

2008-12-14 Thread Alexander Klimetschek
On Sun, Dec 14, 2008 at 5:24 PM, Tobias Bocanegra wrote: > ok. but then i would rather add a public class, like: EscapingValueMap that > just > wrapps any value map, eg: > > EscapingValueMap myMap = new EscapingValueMap(valueMap, Escaping.HTML); > > this can be a simple helper class and does not

[jira] Created: (SLING-772) Adapting Node based Resource to PersistableValueMap throws java.security.AccessControlException

2008-12-14 Thread Felix Meschberger (JIRA)
Adapting Node based Resource to PersistableValueMap throws java.security.AccessControlException --- Key: SLING-772 URL: https://issues.apache.org/jira/browse/SLING-772

[jira] Closed: (SLING-772) Adapting Node based Resource to PersistableValueMap throws java.security.AccessControlException

2008-12-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-772. --- Resolution: Fixed Fixed in Rev. 726513 by catching the AccessControlException > Adapting Node

[jira] Closed: (SLING-750) JcrResourceResolver2 incorrectly loads existing configuration into its map entries

2008-12-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-750. --- Resolution: Fixed This issue is fixed and can be closed. > JcrResourceResolver2 incorrectly l

[jira] Created: (SLING-773) ResourceResolver.map should handle paths with selectors and extensions

2008-12-14 Thread Felix Meschberger (JIRA)
ResourceResolver.map should handle paths with selectors and extensions -- Key: SLING-773 URL: https://issues.apache.org/jira/browse/SLING-773 Project: Sling Issue Type: Impr

[jira] Commented: (SLING-773) ResourceResolver.map should handle paths with selectors and extensions

2008-12-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656480#action_12656480 ] Felix Meschberger commented on SLING-773: - Implemented support in Rev. 726555. Addi

[jira] Created: (SLING-774) Components without configuration are listed in the Felix configuration dropdown

2008-12-14 Thread Mike Pfaff (JIRA)
Components without configuration are listed in the Felix configuration dropdown --- Key: SLING-774 URL: https://issues.apache.org/jira/browse/SLING-774 Project: Sling

[jira] Closed: (SLING-773) ResourceResolver.map should handle paths with selectors and extensions

2008-12-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-773. --- Resolution: Fixed Added more unit tests in Rev. 726559. Closing this issue now. > ResourceRe

[jira] Updated: (SLING-773) ResourceResolver.map should handle paths with selectors and extensions

2008-12-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-773: Component/s: (was: API) Fix Version/s: (was: API 2.0.4) Affects Ver

[jira] Created: (SLING-775) Use consistent labeling for Sling components

2008-12-14 Thread Mike Pfaff (JIRA)
Use consistent labeling for Sling components Key: SLING-775 URL: https://issues.apache.org/jira/browse/SLING-775 Project: Sling Issue Type: Improvement Components: General Re

[jira] Created: (SLING-776) Some configuration may corrupt resolution and mapping

2008-12-14 Thread Felix Meschberger (JIRA)
Some configuration may corrupt resolution and mapping - Key: SLING-776 URL: https://issues.apache.org/jira/browse/SLING-776 Project: Sling Issue Type: Bug Components: JCR Resource

[jira] Closed: (SLING-776) Some configuration may corrupt resolution and mapping

2008-12-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-776. --- Resolution: Fixed Added support to ensure trailing slashes on patterns, which are simple strin

[jira] Created: (SLING-777) Mapping resources might not need scheme and host

2008-12-14 Thread Felix Meschberger (JIRA)
Mapping resources might not need scheme and host Key: SLING-777 URL: https://issues.apache.org/jira/browse/SLING-777 Project: Sling Issue Type: Improvement Components: JCR Resource

[jira] Closed: (SLING-777) Mapping resources might not need scheme and host

2008-12-14 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-777. --- Resolution: Fixed Implemented the removal of scheme/host/port from the mapped URI if they are