That's actually kind of a silly statement. The whole reason to release an open source project is to provide others a tool to use that fosters your way of doing something, which is hopefully better in some way than whatever the current standard is. If this tool doesn't work the way you would like, you have a few options.
- Update the code and submit the patches for review and possible inclusion into the project. - Find a different tool that works the way you wish. - Start your own project that works the way you want. But to tell someone that their tool was written incorrectly because it doesn't do what you want it to is at best bad manners. (*Chris*) On Wed, Sep 7, 2011 at 2:15 AM, Adrian Gonzalez <[email protected]>wrote: > > No, it was made on purpose, for your sanity I suggest not to use > scriptlets ever ;-) > > > It's a pity : you shouldn't impose your development views on others. > > For instance for rapide tests / prototyping scriptlets are really usefull. > Even for full blown webapps, if you use them wisely they can be nice. > > Personnally, I've never seen the difference between : > <c:forEach begin="1" end="1000"> > > blabla > </c:forEach> > and > > <%for (int i=0; i<1000; i++) {%> > > blabla > <%}%> > > Apart from a performance point of view and from a language constructus > duplication (you must learn JSTLs, great.... very interesting...). > > Anyway, thanks for the answer ! > > You're sure you're not gonna change your mind on this subject ? please ? ;) > > > ________________________________ > De : Antonio Petrelli <[email protected]> > À : [email protected]; Adrian Gonzalez <[email protected]> > Envoyé le : Mardi 6 Septembre 2011 12h15 > Objet : Re: Error using Scriptlet inside tiles:putAttribute > > > 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 >
