[Hippo-cms7-user] Dropdown Plugin

Jeroen Hoffman j.hoffman at onehippo.com
Tue Nov 17 15:44:13 CET 2009


nvankampenhout wrote:
> 
> nvankampenhout wrote:
>>
>> Jeroen Hoffman wrote:
>>> I think that this is due to a missing property under 
>>> /hippo:namespaces/system/DynamicDropdown/editor:templates/_default_/root.
>>> Could you try this: add a String property 'valuelist.provider' with value 
>>> '${valuelist.provider}'? I hope this will pass this property from the 
>>> cluster.options subnode, like is done with the 'source' property. If
>>> correct, 
>>> this should be incorporated into a new version of dropdown.
>>>
>> I added the property but unfortunately it does not make a difference. It
>> looks like config.getString(IValueListProvider.SERVICE) returns null.
>>
> 
> I finally managed to have the dropdown use my custom value provider, by
> manually adding a property "valuelist.provider" with value
> "${valuelist.provider}" to
> /hippo:namespaces/mynamespace/mytype/editor:templates/_default_/[some_id]
> (i.e. the actual field in the template).
> 
> For now I can use this as a workaround, but I think there is a bug somewhere
> in the plugin...

So it's in two places you added  valuelist.provider=${valuelist.provider}?

The one in system/DynamicDropdown must a bug in the plugin, will correct that! 
The other is in usage, a demo project should definately be created.

Tnx for feedback
Jeroen







More information about the Hippo-cms7-user mailing list