Simulated Nested Repeat RegionNested repeat regions are commonly needed in a Web page that serves dynamic content from a database. There are many ways to program a nested region, from nesting loops to data shaping using ADO. All of them require some pretty complex hand-coding. There is an easier way, however. This server behavior takes advantage of some simple conditional logic to simulate a nested repeat region. What is a nested region?A nested region is simply a way to display data whereby the data is grouped by certain criteria, such as by category. For example, a listing of books or movies might have several titles in each specific category. If you want to display these titles by category but only display one category, you will want to create a nested region:
To apply this server behavior, you'll need to follow these steps:
This extension works in DWMX ONLY in ASP/VBScript, ASP/JScript, PHP_MySQL, PHP_ADODB, ColdFusion, and UD4-ColdFusion. For an UltraDev version go to Basic-UltraDev. The extension works with the Recordset Navigation Suite and Dynamic Search Suite. Tom Muck Tom Muckwww.dwteam.com
Copyright © 2002, DWTeam.com. All Rights Reserved. |