[
https://issues.apache.org/jira/browse/SLING-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561312#action_12561312
]
Tobias Bocanegra commented on SLING-182:
----------------------------------------
the default would be to ignore all 'jcr:*' properties unless there is a 'all'
selector.
eg:
/content/foo.json -> returns only the non-system props of /content/foo
/content/foo.all.json -> returns all properties of /content/foo
/content/foo.1.json -> returns all non-system of props /content/foo and of all
its subnodes
/content/foo.1.all.json -> returns all props of /content/foo and of all its
subnodes
/content/foo.infinity.all.json -> does a full recursive serialization of
/content/foo
> ujax: introduce default filtering of system properties on the server side
> -------------------------------------------------------------------------
>
> Key: SLING-182
> URL: https://issues.apache.org/jira/browse/SLING-182
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Reporter: David Nuescheler
> Priority: Minor
>
> currently the default .json serialization does not skip the "jcr:properties"
> on the server side but this filtering happens on the client in the
> ujax.getContent() method.
> I think we should integrate this filtering on the server side and also allow
> for other behaviours like "include all system properties" and additional meta
> information like "length of binary properties".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.