Movatterモバイル変換


[0]ホーム

URL:


BloomreachBloomreach
Hippo CMS

Bloomreach Documentation version

Bloomreach.com

Poll Plugin Developer Guide - Component Instantiation

Instantiate a Poll Component

You should instantiate a poll component, rather than using theChannel Editor componentcatalog, if you want to provide the webmaster with a fixed website layout.

You have to do this using the CMS Console. Navigate to/hst:[your project]/hst:configurations/[your project]/hst:pages and build a potentially nested structure ofhst:components representing your desired page layout. Use inheritance by means of thehst:referencecomponent attribute where appropriate. Your poll component will be referred to by a leaf-component of this structure.

Setup the following attributes for the component representing the poll:

AttributeValue
hst:componentclassnameThe class name of your custom poll component, ororg.onehippo.forge.poll.component.PollComponent if you use the default component provided by the plug-in.
hst:templateThe name of the rendering template you just created, orpoll.component.ftl if you want to use the default rendering provided by the plug-in.
hst:parameternamesThis is a multi-value attribute, representing the component's parameter names. Seehere for a description of the poll component's parameters.
hst:parametervaluesThis is a multi-value attribute, representing the component's parameter values. The ordering of the parameter values must match the ordering of the parameter names.

 

Did you find this page helpful?
How could this documentation serve you better?
Cheers!
On this page
    Did you find this page helpful?
    How could this documentation serve you better?
    Cheers!

    [8]ページ先頭

    ©2009-2025 Movatter.jp