You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/26 11:56:14 UTC

[jira] [Commented] (SLING-4011) Allow ValidationModel nodes in the JCR contain wildcards below children and properties

    [ https://issues.apache.org/jira/browse/SLING-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226022#comment-14226022 ] 

ASF GitHub Bot commented on SLING-4011:
---------------------------------------

GitHub user kwin opened a pull request:

    https://github.com/apache/sling/pull/48

    SLING-4011 allow regular expressions for resource names and property names

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kwin/sling SLING-4011-validatorwildcardsupport

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sling/pull/48.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #48
    
----
commit b10a838264068c4b375d9b08a822ddd6ff908458
Author: Konrad Windszus <ko...@netcentric.biz>
Date:   2014-11-25T17:06:44Z

    SLING-4011 allow wildcard matching for childresources

commit 0b9d48afa424723aa9d34866baa566dfdebe627a
Author: Konrad Windszus <ko...@netcentric.biz>
Date:   2014-11-26T10:54:06Z

    SLING-4011, allow name regex for properties, refactor tests

----


> Allow ValidationModel nodes in the JCR contain wildcards below children and properties 
> ---------------------------------------------------------------------------------------
>
>                 Key: SLING-4011
>                 URL: https://issues.apache.org/jira/browse/SLING-4011
>             Project: Sling
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: Konrad Windszus
>              Labels: validator
>             Fix For: Validation 1.0.0
>
>
> According to https://github.com/apache/sling/blob/trunk/contrib/validation/README.md the nodes in the JCR specifying a validation model must always give an explicit property name or child node name. This is sometimes not possible if the subnodes/properties are generated automatically. Therefore it would be great if the elements directly below {{children}} and {{properties}} would allow wildcards.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)