2007/11/2, lbastil <[EMAIL PROTECTED]>: > > > Thank you for this hint, but in this case I don't think so. > > I am already use tiles for the overall page structure, but for this > minor substructures I don't want to use a kind of tiles sub-hierarchy.
Ok I think I understood: so you want a piece of code that, when run, creates the HTML structures dynamically. Am I right? In this case, I think you want to re-invent the wheel: it seems like an XML to be transformed throught an XSLT file. If you want to do so, use XML+XSLT, but I think that you are wasting time: since Tiles and Sitemesh do a great job in templating, I suggest to use them. In particular, since you are talking about a microstructure, probably Tiles will fit best, since Sitemesh is more "application-wide". Just my 2 eurocents Antonio