C
conor.macmahon
Hi there,
After reading the tiles documentation, I'm a little confused
how I can elegantly solve my problem. I have a generic page, that
iterates through a collection, for example:
<c:forEach var="item" items="${requestScope.items1/items2/items3}"
begin="0">
</c:forEach>
The issue I have is how to configure tiles so that the generic page can
switch between items1/items2/items3 depending on a given tiles
definition? How would I do this? Note it all works if I iterate through
a given hard-coded variable, just need now to make that variable
dynamic?
Any help with the above would be appreciated, I'm sure I'm not the only
one to have to solve this problem using tiles?
Best regards,
Conor
After reading the tiles documentation, I'm a little confused
how I can elegantly solve my problem. I have a generic page, that
iterates through a collection, for example:
<c:forEach var="item" items="${requestScope.items1/items2/items3}"
begin="0">
</c:forEach>
The issue I have is how to configure tiles so that the generic page can
switch between items1/items2/items3 depending on a given tiles
definition? How would I do this? Note it all works if I iterate through
a given hard-coded variable, just need now to make that variable
dynamic?
Any help with the above would be appreciated, I'm sure I'm not the only
one to have to solve this problem using tiles?
Best regards,
Conor