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

<hippo:content>

Description

The <hippo:query> executes a DASL query based on the location and stores the result in the var attribute.

Attributes

Attribute Type Required Rtexprvalue Description
location String true true The scope of the DASL query
var String true false The variable name in which the tag stores the result
query String false true Name of query class
content Boolean false false Get the content or only the properties of documents

Usage

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