Hi Abdel,
We've forgotten to update the tld in the hst taglib. You can find this
file
(hst.tld) in either the META-INF directory of the jar of the hst-taglib
or
in the WEB-INF of your web application.
It probably contains this text:
...
<tag>
<description>
</description>
<name>page</name>
<tag-class>nl.hippo.client.jsp.content.PagingTag</tag-class>
<body-content>empty</body-content>
<attribute>
...
Replace
<body-content>empty</body-content>
with
<body-content>JSP</body-content>
And then the <hippo:page> tag should work.
(You probably have to change this for the definition of the query tag in
the tld as well)
The <hippo:queryParameter> tag only works within a <hippo:page> or
<hippo:query> tag
by the way.
Regards,
Mike Meijnhard
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Irahhoten, Abdeslam
> Sent: woensdag 4 juni 2008 13:49
> To: Hippo CMS development public mailinglist
> Subject: [HippoCMS-dev] <hippo:page> && <hippo:queryParameter>
>
> Can anyone help me with the following problem?
>
>
>
> we have added in our jsp page the following code
>
> <hippo:page var="docs"
> query="nl.vastgoedmarkt.queries.NewsHomePageQuery"
> location="/content/nieuws">
>
> <hippo:queryParameter name="length" value="3" />
>
> </hippo:page>
>
>
>
> But when we browse to the jsp page we see the following error
>
>
> "org.apache.jasper.JasperException:
> /portlets/portlet_nieuwsHome.jsp(11,1) PWC6239: According to
> TLD, tag hippo:page must be empty, but is not"
>
>
>
>
>
> I tried to remove these tag <hippo:queryParameter name="length"
> value="3" />
>
>
>
> But I still get the error that the <hippo:queryParameter>-tag
> is missing.
>
>
>
> Thanks in advance.(
>
> Abdel.
>
>
> Disclaimer
>
> Dit bericht met eventuele bijlagen is vertrouwelijk en
> uitsluitend bestemd voor de geadresseerde. Indien u niet de
> bedoelde ontvanger bent, wordt u verzocht de afzender te
> waarschuwen en dit bericht met eventuele bijlagen direct te
> verwijderen en/of te vernietigen. Het is niet toegestaan dit
> bericht en eventuele bijlagen te vermenigvuldigen, door te
> sturen, openbaar te maken, op te slaan of op andere wijze te
> gebruiken. Ordina N.V. en/of haar groepsmaatschappijen
> accepteren geen verantwoordelijkheid of aansprakelijkheid
> voor schade die voortvloeit uit de inhoud en/of de verzending
> van dit bericht.
>
> This e-mail and any attachments are confidential and are
> solely intended for the addressee. If you are not the
> intended recipient, please notify the sender and delete
> and/or destroy this message and any attachments immediately.
> It is prohibited to copy, to distribute, to disclose or to
> use this e-mail and any attachments in any other way. Ordina
> N.V. and/or its group companies do not accept any
> responsibility nor liability for any damage resulting from
> the content of and/or the transmission of this message.
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
********************************************
Hippocms-dev: Hippo CMS development public mailinglist