Hi,I'm trying to implement an aspect with a property that has the xml attribute multiple set to true.Here is the definition for the aspect :
<aspect name="ldap:contactsMultiples">
<title>Contacts LDAP (multiples)</title>
<properties>
<property name="ldap:searchStringMultiple">
<type>d:text</type>
<multiple>true</multiple>
</property>
</properties>
</aspect>
For this property, I use a component generator that defines a special picker (that is searching in an ldap repository). Declaration of component generator in web-client-config-custom.xml
<config evaluator="aspect-name" condition="ldap:contactsMultiples">
<property-sheet>
<show-property
name="ldap:searchStringMultiple"
converter="MultipleLdapConverter"
component-generator="MultipleLdapGenerator"
display-label-id="ldap.aspect.title"
/>
</property-sheet>
</config>
But when I edit the node with this aspect, Alfresco generates automatically the following interface: on the left of the screen, a panel with a button on the top with "Add to list" label. Then a list of elements selected with the ability to add/remove items. Then I have the panel that I have defined in the component generator (my picker).I thought I could define something like
<config name="node-type" condition="cm:object">
<property-sheet>
<show-aspect name="aspectName" component-generator="MyGeneratorBeanName"/>
</property-sheet>
</config>
to force the aspect to be displayed with my component generator but this is ignored so I guess this syntax is either incorrect or unsupported.So I don't see easy solution to get it work with a pretty interface.Another question is about display of list of contacts : I would like to have a list displayed. Currently I have a converter but I have to put my results concatenated, separated with a comma. But this is unreadable…Any idea for those things ?Thank you !