[Hippo-cms7-user] Dropdown Plugin

nvankampenhout nvankampenhout at yahoo.co.uk
Tue Nov 17 16:27:07 CET 2009


Thanks Frank, very clear and useful answer, it is working now. There was one
more property missing:


Frank van Lankvelt wrote:
> 
> The setup should be something like
> 
> /hippo:namespaces/mynamespace/mytype/editor:templates/_default_
> + list plugin (or other layout)
> + ...
> + field plugin
>   + cluster.options
>       - valuelist.provider = service.valuelist.myprovider
>       + valuelist.options
>           - source = /path/to/valuelist/document
> 
> /hippo:namespaces/system/DynamicDropdown/editor:templates/_default_
> - frontend:references = { engine, wicket.model, valuelist.provider }
> 
valuelist.provider was missing in frontend.references!



> - frontend:properties = { mode, valuelist.options }
> + root
>     - valuelist.provider = ${valuelist.provider}
>     - valuelist.options = ${valuelist.options}
> 
> So the dynamic dropdown plugin acquires the values that are specified
> in the document template.  It should be able to resolve the service if
> that has been made available in cms-services.
> 

Haven't used the valuelist.options yet but these properties seem to be
missing in the plugin as well.

Thanks,
Niels
-- 
View this message in context: http://n2.nabble.com/Dropdown-Plugin-tp4014672p4019214.html
Sent from the Hippo CMS 7 mailing list archive at Nabble.com.



More information about the Hippo-cms7-user mailing list