Beans and designTimeProperties

Hi,

I’m using the servoy treeview bean but I am missing the designTimeProperties …?
This causes errors in my solution since I am looping through all the elements of a form, and I’m checking whether there is a designTimeProperty or not.
Is there a way to check if a bean has this property, or maybe a way to check if an element is a bean so I can skip those elements?

Thanks
Robrecht

robrecht:
Is there a way to check if a bean has this property, or maybe a way to check if an element is a bean so I can skip those elements?

this should work:

if('getDesignTimeProperty' in forms.myForm.elements.myTreeView) {
     // does exist, now read and process it
}

Thanks Marc, that’s it!