Hi all, I am new to hippocms-dev mailing list,

 

I am working on front end poll. Poll component is enabled in CMS (6.03.06)
and I added few polls. I was following guide from
http://www.hippo-ecm.org/display/CMS/2.+Frontend+poll and I added matcher in
main sitemap:

<map:match pattern="poll">

<map:generate type="poll">

            <map:parameter name="pollid" value="{request-param:pollid}" />

      </map:generate>

      <map:serialize type="xml" />

</map:match>

 

it returns me this xml document:

<poll all-vote-count="0" pollid="3">

<question>Is it working?</question>

<headertext> This is the first working poll.</headertext>

<repodocument/>

<isonline>true</isonline>

<onlinedate date-format="yyyyMMddHHmmssSS">20090218165916127</onlinedate>

<answers total="0"/>

</poll>

 

Node answers does not contain answer elements although poll has two answers
offered in CMS. Can someone help me with suggestion what to try or share
their experience on working with poll in front end? If needed I can provide
more information.

 

Thanks in advance.

 

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to