On 11.10.2012, at 12:23, Dimitar Dimitrov <[email protected]> wrote:

> Alex you are amazingly insightful:). The NodeType definition in runtime 
> was the easy part. :) As Felix recommends 
> NodeTypeLoader.registerNodeType() did this perfectly. I just put it in 
> new SlingPostOperation based bundle.
> Alex it seems that you have a lot of experience with this issue, so  
> please could you give me some helpful tips for changing the NodeType 
> definition on a fly :)

No, I was serious about this. Autogenerating node types from some kind of UI 
definition is not a good idea. Just try to start with nt:unstructured and go 
from there, with JCR there is no need for schemas (= node types). 
Autogenerating implies that it will change and changing schemas is difficult 
with any database solution.

Cheers,
Alex

Reply via email to