Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 48033 invoked from network); 2 May 2008 10:16:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2008 10:16:18 -0000 Received: (qmail 44030 invoked by uid 500); 2 May 2008 10:16:08 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 43944 invoked by uid 500); 2 May 2008 10:16:07 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 43933 invoked by uid 99); 2 May 2008 10:16:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 03:16:07 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of larsdam@gmail.com designates 209.85.146.179 as permitted sender) Received: from [209.85.146.179] (HELO wa-out-1112.google.com) (209.85.146.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 10:15:23 +0000 Received: by wa-out-1112.google.com with SMTP id n4so102858wag.5 for ; Fri, 02 May 2008 03:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=VivFsA5Es+lh1lGdu8HAFU2nozql+yhEin5Gn57WxWY=; b=ppkn04laFxamnZ3GXfgGTTDwD495Cbjoj7TAFZuVNxjwE9e4SfoFBx3PPpABoKx9d7Ulc/fHiGxouCFPPtbcT0uyOqLcMl+WOyRPUJV0Gbl/yyUasodcb4QbWjX5SL4zeGmDkP+qXYFDqAk0bSUf9/0T+v63t2iNIjkn1MI7XQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=demZQD1E8pdy1X/PjzAYuwHyPlHoOrQZC1PBuah3qOaBFoJRbfYfkAuxGyP9QFSnnmpakz4XJyHU6blHMT7anuR3qmllhgNaY6AwUt3MEPw7jlcX80YagiFKP76EMbH36UwPEaFzgwDOyqmIzHa9Xwr/ahRVmFSY70TZWXMK44M= Received: by 10.115.89.1 with SMTP id r1mr2834929wal.195.1209723337744; Fri, 02 May 2008 03:15:37 -0700 (PDT) Received: by 10.115.110.17 with HTTP; Fri, 2 May 2008 03:15:37 -0700 (PDT) Message-ID: <2e5a9acb0805020315g565b8295n6f73a0ffa7d2ddde@mail.gmail.com> Date: Fri, 2 May 2008 12:15:37 +0200 From: "Lars Dam" To: user@struts.apache.org Subject: Re: Using tiles defined attribute with s2 tags In-Reply-To: <2e5a9acb0805020241l5496a018vbe4dfdad6240edbc@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12303_13009991.1209723337736" References: <2e5a9acb0805020241l5496a018vbe4dfdad6240edbc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12303_13009991.1209723337736 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline The question origined from this discussion in the tiles mailing list: http://mail-archives.apache.org/mod_mbox/tiles-users/200804.mbox/%3c2e5a9acb0804280530g2fb6f27al6adeda6d3298227c@mail.gmail.com%3e - the question may be related of how to use a page scoped bean inside struts 2 tags - it may be easier to explain this to me :/ kr. Lars Dam On Fri, May 2, 2008 at 11:41 AM, Lars Dam wrote: > I have some serious problems trying to create some subaction for a tile - > mainly i want to have a 1:1 between an action and a tile, so my main action > can have a map of subactions, one for each tile i use in my page; so far i > can make a tiles definition like: > > > value="${tileactions['tileaction']}"/> > > > This gives me the 'subaction' instance from the map tileactions via the > key 'tileaction' > However i can see that my 'subaction' instance is available on the > tile.jsp if i use an EL expression, but i have problems using this with > struts 2 tags - what would be the correct path for me to solve this? Or is > there perhaps a better design pattern for what i am trying to accomplish? > > kr. Lars Dam > > ------=_Part_12303_13009991.1209723337736--