Hi
using Items, i have built an app that uses nested ItemRelations in 3 levels. This is used to create a 3 level list similar to this:
* continent a
country a
shop_a1
shop_a2
shop_a3
country b
shop_b1
shop_b2
* continent b
country c
shop_c1
shop_c2
shop_c3
country d
shop_d1
shop_d2
Now, the problem is that Dynamicweb aparantly will not create a loop if the item relation is a level3 item. My template looks similar to below, and I get result/output in level1 and level2 - but get no result in level3
@foreach(LoopItem a in GetLoop("Item.level1")){
@a.TemplateTags() //Gives a result
foreach(LoopItem b in a.GetLoop("Item.Level1.Level2")){
@b.TemplateTags() // Gives a result
foreach(LoopItem c in b.GetLoop("Item.Level1.Level2.Level3")){
@c.TemplateTags() // Gives no result
}
}
}
Any ideas or suggestions on what to do, or is this a bug?
/Hans