Well, maybe I don't get the question... but when you are using 
magnolia-module-ocm [1] you can configure what jcr types should be used for 
each class you're persisting. 

-will

[1] http://git.magnolia-cms.com/gitweb/?p=forge/ocm.git;a=summary


On 14.03.2013, at 10:30, Christian Balaguer Jehle (via Magnolia Forums) wrote:

> I'll make it short because my previous attempt to post this entry failed and 
> couldn't retrieve the text.
> 
> I'd like to configure ocm to set a custom primaryType when persisting changes 
> instead of the default type "nt:unstructured". Does someone know how to 
> configure ocm to achieve this? Looking at the quote below it should be 
> possible.
> 
> [code]Note : It is possible to associate a specific node type to each java 
> class but this imply more repository configurations. 
> It is also possible to change the corresponding JCR node structure by using 
> specific Bean or Collection converters. 
> Later, we will add more tutorials on OCM converters.[/code]
> 
> I need to set the primaryType in order for the content to appear in the data 
> workspace.
> 
> Another solution would be to write a custom data tree view which displays ALL 
> the content. Not only the content for the registered data node types. Any 
> hints on this? I don't need to be able to move/modify the nodes in the view. 
> I just wanna see what's in there :)
> 
> Thanks in advance.
> 
> Chris
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=f0b1884e-d28f-4ad4-ba88-5d9d55dbfe91
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to