Hello,

2009/2/19 I. Gere <[email protected]>

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

welcome :)

>
>
>
> 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.


Which version of the Hippo Community Apps are you using? If you save the
poll, do you see rows in the database for answers?

-- 
Jasha Joachimsthal

[email protected] - [email protected]

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-5100
+1 (707) 773-4646
********************************************
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