tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Error using Scriptlet inside tiles:putAttribute
Date Tue, 06 Sep 2011 10:15:24 GMT
2011/9/6 Adrian Gonzalez <adr_gonzalez@yahoo.fr>

> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message