Jean-Marc Orliaguet wrote:
Florent Guillaume wrote:
On 14 Apr 2008, at 13:38, Jean-Marc Orliaguet wrote:
Florent Guillaume wrote:

Could you track down what kind of object is returned here, so that we fix the search service?

OK, I get:
doc.getProperty("person", "roles").getClass().getCanonicalName(): java.lang.Object[] doc.getProperty("person", "roles").getClass().getComponentType(): class java.lang.Object

Strange. What are the object values themselves?


these are set from vocabulary entries (such as "1", "2", "3", "4" ...) from a selection list widget.

<widget name="roles" type="selectManyDirectory"> <translated>true</translated>
       <fields>
         <field>person:roles</field>
       </fields>
       <properties mode="any">
         <property name="directoryName">chalmers_roles</property>
       </properties>               </widget>

/JM


field prefetching is being used too in <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">

     <prefetch>
       person.roles, person.email, person.department, person.organisation
     </prefetch>

/JM
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to