Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 34948 invoked from network); 25 Apr 2006 14:51:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Apr 2006 14:51:13 -0000 Received: (qmail 9470 invoked by uid 500); 25 Apr 2006 14:51:03 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 9440 invoked by uid 500); 25 Apr 2006 14:51:02 -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 9428 invoked by uid 99); 25 Apr 2006 14:51:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 07:51:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of joao.luz@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nproxy.gmail.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 07:51:02 -0700 Received: by nproxy.gmail.com with SMTP id x4so897766nfb for ; Tue, 25 Apr 2006 07:50:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:in-reply-to:x-mimeole:thread-index:from; b=I/+yiX95roQhTcX3wHj7KRjqd8g251UaWcT+WbKSCEgcFovncigMCQQcchSDelkMTg4jXuf+AQ42cxiqOLUMmdlg2Q3sbHmUEXWjxDHYs9zDIC41gBdQBlXKKAqX0FNBKQoJK88rMFiNIq+dIeaiMoEswA+1sg7J79c4QIqMz4s= Received: by 10.49.92.2 with SMTP id u2mr799892nfl; Tue, 25 Apr 2006 07:50:41 -0700 (PDT) Received: from jluzpt ( [85.240.140.92]) by mx.gmail.com with ESMTP id p43sm17202nfa.2006.04.25.07.50.39; Tue, 25 Apr 2006 07:50:39 -0700 (PDT) To: "'Struts Users Mailing List'" Subject: RE: Role based Tiles Date: Tue, 25 Apr 2006 15:51:36 +0100 Message-ID: <002601c66877$c1bb91d0$0200000a@sinfic.pt> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <001c01c66874$9c42db00$0ec213ac@raghuveer> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZodNeknlbSHe8ZS2yKLjf38f/SvwAApSqg From: =?iso-8859-1?B?Sm/jbw==?= X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think you can't do that with tiles. Maybe with a controller but not declaratively :( -----Original Message----- From: Raghuveer [mailto:raghuveerv@infotechsw.com]=20 Sent: ter=E7a-feira, 25 de Abril de 2006 15:29 To: 'Jo=E3o'; 'Struts Users Mailing List' Subject: RE: Role based Tiles If I have 2 roles "admin" and "user" If my Action forward path is ".page.home.page" for "user" role what would be the state of application. Can I declaratively specify to navigate specific page/tiles definition = with message Example "user" has not access to this page -----Original Message----- From: Jo=E3o [mailto:joao.luz@gmail.com] Sent: Tuesday, April 25, 2006 6:05 PM To: 'Struts Users Mailing List'; raghuveerv@infotechsw.com Subject: RE: Role based Tiles Looking at tiles dtd you find that you have a role attribute on = definition element. Another way of controlling what appears is using the role attribute on tiles:put tag. -----Original Message----- From: Raghuveer [mailto:raghuveerv@infotechsw.com] Sent: ter=E7a-feira, 25 de Abril de 2006 11:44 To: user@struts.apache.org Subject: Role based Tiles In my web application i have 2 roles. For each role there should be different header and footer. How to implement this in struts tiles ? I am using struts 1.2.8 --------------------------------- Raghu --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org