2011/9/6 Adrian Gonzalez <[email protected]> > Hello, > > I'm using Tiles 2.2.1 (also tested this issue with 2.2.2). > > I cannot use scriptlet code inside tiles jsp tags. > > This is because : > 1. Tiles JSP tags inherit from SimpleTag Support class and not from > TagSupport class. > 2. inside tiles-jsp.tld all tags are marked with > <body-content>scriptless</body-content> and > not <body-content>JSP</body-content> > > This issue makes working with tiles quite a pain (prototyping and testing > is quite difficult). > > Should I create a JIRA ? >
No, it was made on purpose, for your sanity I suggest not to use scriptlets ever ;-) Antonio
