Given a JCR (Java content repository, implementing standards jsr-170 and/or jsr-283, like Apache Jackrabbit, JBoss Modeshape), I would like to build a cms-like editor that given a specified JCR-node can edit all datatypes defined as part of that node.
e.g: a JCR-node, might have the datatypes: date, venue, name, description defined. Venue might be a child-node with datatypes: latitude/longitude, name, capacity.
This code would generate the editor based on the declaration of the JCR-node alone, no other input would be needed.
This code would follow the builder-pattern (http://en.wikipedia.org/wiki/Builder_pattern) Of course, I could write this code myself but I'm looking for existing open-source implementations. I feel there must be CMS's built on top of JCR that use this approach: Magnolia, Sling, Hippo, others? Or some not well-known projects which sole purpose is to provide a core (the model part parhaps) of this builder-implementation.
Any pointers to these libraries of the relevant code within these open-source CMS's would be more than welcome.
Any help appreciated. Thanks, Geert-Jan