Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

Repeat Regions inside Repeat Regions

$
0
0

I'm not sure how to do this.  Dreamweaver says you can't put server behaviors inside server behaviors.   But it seems like a pretty standard thing someone might want to do.  For instance:

 

Let's say you wanted to create an online menu.  And say...you have two tables:

 

Table Items

  • item_id
  • item_name
  • item_description
  • item_price

 

Table Ingredients

  • ing_id
  • ing_name
  • item_id

 

 

So on your page, you want to show a repeat region of every menu item in the database.  Plus, inside each menu item, you want to have a repeat region of every ingredient that has the same item id.

Does that make sense?  So it may look like:

 

 

Fishy Lips
Wonderful Lips for all you Fishy Lip Lovers!  Get em today!

Ingredients

Fishy Lips

Fishy Seasonings

Fishy Herbs

Fishy Spices

 

 

 

Luckity Hoppity
Amazing Rabbit legs that bring good luck!

Ingredients

Bunny Legs

Bunny Spices

Cow Tongue


Viewing all articles
Browse latest Browse all 238792

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>