Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 19188 invoked from network); 25 Apr 2006 14:40:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Apr 2006 14:40:00 -0000 Received: (qmail 50615 invoked by uid 500); 25 Apr 2006 14:31:11 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 50578 invoked by uid 500); 25 Apr 2006 14:31:11 -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 50564 invoked by uid 99); 25 Apr 2006 14:31:11 -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:31:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.200.218.100] (HELO mail.infotechsw.com) (203.200.218.100) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 07:31:10 -0700 Received: from mail.infotechsw.com (localhost [127.0.0.1]) by mail.infotechsw.com (8.12.10/8.12.10) with ESMTP id k3PERsGS017814; Tue, 25 Apr 2006 19:57:54 +0530 Received: from raghuveer ([10.1.3.2]) by mail.infotechsw.com (8.12.10/8.12.10) with SMTP id k3PERsm9017808; Tue, 25 Apr 2006 19:57:54 +0530 Reply-To: From: "Raghuveer" To: "=?iso-8859-1?Q?'Jo=E3o'?=" , "'Struts Users Mailing List'" Subject: RE: Role based Tiles Date: Tue, 25 Apr 2006 19:59:06 +0530 Message-ID: <001c01c66874$9c42db00$0ec213ac@raghuveer> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <001b01c66864$a0a62860$0200000a@sinfic.pt> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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�o [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�a-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