The <cat:catalogQuery> tag retrieves a set of catalog items based on keywords or a query expression.
<tagName attribute="value">
</tagName>
catalogManagerName
Required (String) - The CatalogManagerName that will be used for the query.
id
Required (String) - The variable to hold the query results.
keywords
Optional (String) - Keywords to use in the query.
expression
Optional (String) - The regular expression to use for the query.
maxResults
Optional (int) - The maximum number of results to return.
viewSize
Optional (int) - The view size in the ViewIterator collection of catalog items.
<cat:catalogQuery catalogManagerName="MyCatalogManager" id="results"
keywords="<%= keywordString %>" expression="<%= expressionString %>"
maxResults="10"> <cat:iterateViewIterator iterator="<%= myIterator %>" id="view" returnType="com.beasys.commerce.ebusiness.catalog.ViewIterator" iterateByView="true"> <%= view.toString() %>
</cat:iterateViewIterator>
</cat:catalogQuery>