AnsweredAssumed Answered

[Resolved] How to know if a nodeRef has the property

Question asked by dranakan on Oct 23, 2009
Latest reply on Oct 26, 2009 by dranakan

I would like to test if a nodeRef has the property "myProperty". If I do this :

QName PROP_QNAME_MY_PROPERTY = QName.createQName("", "myProperty");
Object value = nodeService.getProperty(destination, PROP_QNAME_MY_PROPERTY);
if (value==null){
Will be null if the nodeRef has not the property in the model but also null is this value has not been setted.

How can I know if the nodeRef has this property  :?:
It's possible to set a property to a nodeRef which has not this property in the model… is it normal  :?: