Return-Path: X-Original-To: apmail-tiles-users-archive@minotaur.apache.org Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 376F87EF4 for ; Tue, 6 Sep 2011 10:16:08 +0000 (UTC) Received: (qmail 61282 invoked by uid 500); 6 Sep 2011 10:16:07 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 61077 invoked by uid 500); 6 Sep 2011 10:15:55 -0000 Mailing-List: contact users-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tiles.apache.org Delivered-To: mailing list users@tiles.apache.org Received: (qmail 61059 invoked by uid 99); 6 Sep 2011 10:15:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 10:15:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antonio.petrelli@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 10:15:45 +0000 Received: by qyk31 with SMTP id 31so447902qyk.11 for ; Tue, 06 Sep 2011 03:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OnghegK5glkqyxKKIf2HwcEZAmWTl5IJtGJ8IAMXsnY=; b=qeY1lQvXF83C1zzBVAY1uj++iBRp0F0Xh4p2gu4veBUfWsiCZR2Mir8H2IHLnJIjf/ dwXvW1FiU7qJcF9gfs2aIwfRnxmjtdZBkisqFmTGfOu7kw7jzTxdlYZCqAA7HbUkvCaQ WQMXlVxCxaeSqbHhmWHDZeNEAYx1JOa+EsJM4= MIME-Version: 1.0 Received: by 10.229.61.95 with SMTP id s31mr3722303qch.22.1315304124223; Tue, 06 Sep 2011 03:15:24 -0700 (PDT) Received: by 10.229.222.145 with HTTP; Tue, 6 Sep 2011 03:15:24 -0700 (PDT) In-Reply-To: <1315303836.72069.YahooMailNeo@web26206.mail.ukl.yahoo.com> References: <1315303836.72069.YahooMailNeo@web26206.mail.ukl.yahoo.com> Date: Tue, 6 Sep 2011 12:15:24 +0200 Message-ID: Subject: Re: Error using Scriptlet inside tiles:putAttribute From: Antonio Petrelli To: users@tiles.apache.org, Adrian Gonzalez Content-Type: multipart/alternative; boundary=0016e650a08a18930a04ac431b21 X-Virus-Checked: Checked by ClamAV on apache.org --0016e650a08a18930a04ac431b21 Content-Type: text/plain; charset=ISO-8859-1 2011/9/6 Adrian Gonzalez > 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 > scriptless and > not JSP > > 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 --0016e650a08a18930a04ac431b21--