Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 6094 invoked from network); 21 Sep 2009 15:42:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Sep 2009 15:42:57 -0000 Received: (qmail 633 invoked by uid 500); 21 Sep 2009 15:42:56 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 562 invoked by uid 500); 21 Sep 2009 15:42:55 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 554 invoked by uid 99); 21 Sep 2009 15:42:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 15:42:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antongavazuk@gmail.com designates 209.85.219.220 as permitted sender) Received: from [209.85.219.220] (HELO mail-ew0-f220.google.com) (209.85.219.220) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2009 15:42:46 +0000 Received: by ewy20 with SMTP id 20so294367ewy.20 for ; Mon, 21 Sep 2009 08:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nPNcW3ljLtQ/6scBa7+HK6mQARA4/lZxbyTsU/NZYO8=; b=fywVouxQ9wmZBOJNGcGnh3ciXIAuT0EB/nnxCNbdQHnmL3QBUN2Z2goHK1vchG6RYs 57L1LSaiLueDo5slDf4X6PHTY6wFsWay1cQmS5PgZOg244SIJACELriwmxVj/66xRdRb UZcherJZCSu/9L+gTzl8seTbcgrUv7GkoOZCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ryMBg3aZWEzIsHeP+WRaB4B4mvFHhrFgZUXV+NEeGZzooUyhkg4/thJF5biE9UyYcE doBkrPDry5juww5MY7fIcBDMXnjYUwBDtkZ/ixrHg0rdxydHdoi5ZehMMGQ4JfS8VJDf QeD7f0z/Or7qWYdqMpkdr0uBxownwWbjeLz3I= MIME-Version: 1.0 Received: by 10.211.129.20 with SMTP id g20mr3073849ebn.14.1253547745371; Mon, 21 Sep 2009 08:42:25 -0700 (PDT) In-Reply-To: <25530337.post@talk.nabble.com> References: <25530337.post@talk.nabble.com> Date: Mon, 21 Sep 2009 18:42:25 +0300 Message-ID: Subject: Re: Myfaces and Presentation Role based rendering From: Anton Gavazuk To: MyFaces Discussion Content-Type: multipart/alternative; boundary=00504502ce401266980474185406 X-Virus-Checked: Checked by ClamAV on apache.org --00504502ce401266980474185406 Content-Type: text/plain; charset=ISO-8859-1 for example look on attribute rendered of any JSF component 2009/9/21 jid1 > > Hello, > > I was looking for role-based rendering Tags/Tools to use with myfaces. Is > there any common practice from this? > > I would like my forms (and other UI) to render information based on the > user > role. Eg. If I have a component I would like it to be editable for > ROLE_ADMIN, visible for ROLE_MOD and not visible for all others. Is there > any out of the box framework to do this? > > Thanks > -- > View this message in context: > http://www.nabble.com/Myfaces-and-Presentation-Role-based-rendering-tp25530337p25530337.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > --00504502ce401266980474185406 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable for example look on attribute rendered of any JSF component

2009/9/21 jid1 <ideligiannis@velti.com>

Hello,

I was looking for role-based rendering Tags/Tools to use with myfaces. Is there any common practice from this?

I would like my forms (and other UI) to render information based on the use= r
role. Eg. If I have a component I would like it to be editable for
ROLE_ADMIN, visible for ROLE_MOD and not visible for all others. Is there any out of the box framework to do this?

Thanks
--
View this message in context: http://www.nabble.com/Myfaces-and-Presentation-Role-based-rendering-tp25= 530337p25530337.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


--00504502ce401266980474185406--