Forum OpenACS Q&A: Re: passing datastructures to adp's

Collapse
Posted by Claudio Pasolini on
You should use db_multirow to query your restaurant table. The API builds a multirow data structure (let's say restaurant:multirow) that you can pass to the adp page via the property section of ad_page_contract. In the adp page you can use the <multiple> tag with the notation @reastaurant.name@ to display each item.