[jboss-user] [JBoss Portal] - Attach additional attributes to a Portal CMS Service content

fixxer do-not-reply at jboss.com
Thu Sep 18 07:23:55 EDT 2008


I'm working with CMS programmatically by retrieving an org.jboss.portal.cms.impl.jcr.JCRCMS object from the java:portal/CMS context. Everything seems to be fine, but I have a need on attaching some additional attributes to CMS contents objects. I've found out that JCR have such an oppotunity in their javax.jcr.Node throw get/setProperty calls (am I right?) But I have no idea how to get to the underlying JCR implementation or to be more specific, to convert between 
org.jboss.portal.cms.model.* and javax.jcr.Node objects. Or maybe there are other ways to add some attributes to CMS contents? 

Thanks, 
Alexandr


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177372#4177372

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177372



More information about the jboss-user mailing list