Hi

On Wed, Jan 27, 2010 at 3:51 PM, Justin Edelson <[email protected]> wrote:
> ...I would caution you that
> JCR Node Types do not, IMHO, provide enough metadata to be used to create a
> UI. Sling provides one solution to this whereby you can write "edit" and/or
> "create" scripts per node type (or, in Sling parlance, resource type).
> Another solution is to put additional type-specific metadata in the
> repository....

Just to clarify (I know Justin is aware of that ;-) that is what Sling
does by default, it uses a sling:resourceType JCR property to point to
(easily overridable) servlets or scripts, which can also be selected
based on http method, URL extension and "selectors" (addtional
extensions), etc.

IIUC, that sling:resourceType property is what you mean by
type-specific metadata - Sling standardizes the use of that, and
provides default servlets, conventions and utilities to make it easier
to handle that.

-Bertrand

Reply via email to