•  
Main
About Hippo Site Toolkit 1
Technical Documentation
Expression Language
Other

<hippo:content>

Description

The <hippo:page> executes a DASL query based on the location and stores the result in the var attribute. It also takes paging into account, it does so by manipulating the query limit depending on the current page. How the current page is determined is totally transparent and is up to the developer to decide (a common way to go is through a request parameter).

Attributes

Attribute Type Required Rtexprvalue Description
location String true true The scope of the DASL query
var String true false The PageContext attribute that will contain the page result
query String false true A class inheriting from nl.hippo.client.dasl.Query
content Boolean false false Get the content or only the properties of documents
content Boolean false false Name of repositoryBean variable on the pageContext

Usage

<hippo:page location="/news" var="result" query="org.mycompany.query.PageQueryImpl">
    <hippo:queryParameter name="name" var="${param.name}"/>
    <hippo:queryParameter name="address" var="${param.address}"/> 
</hippo:page>
Performs a query scoped at /news using the PageQueryImpl with two query parameters namely, name and address.