Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 53403 invoked from network); 9 Jan 2004 08:59:31 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Jan 2004 08:59:31 -0000 Received: (qmail 43953 invoked by uid 500); 9 Jan 2004 08:58:58 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 43931 invoked by uid 500); 9 Jan 2004 08:58:58 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 43912 invoked from network); 9 Jan 2004 08:58:58 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 9 Jan 2004 08:58:58 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AesU2-000685-00 for ; Fri, 09 Jan 2004 09:59:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AesU1-00067x-00 for ; Fri, 09 Jan 2004 09:59:09 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AesU0-0002kj-00 for ; Fri, 09 Jan 2004 09:59:08 +0100 From: Olivier Billard Subject: Re: Woody READONLY Fields Date: Fri, 09 Jan 2004 09:58:13 +0100 Lines: 34 Message-ID: References: <5.2.1.1.0.20040109092444.02568f10@ronin.matrix.tuwien.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: fr-fr, fr, en, ja In-Reply-To: <5.2.1.1.0.20040109092444.02568f10@ronin.matrix.tuwien.ac.at> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Michael, You can use the role to filter the wd:styling (@type='output' for a read-only rendering) : read-write : read-only : see woody-field-styling.xsl in the woody samples To do this, you can render your template file with an XSP. It works for me. -- Olivier On 09/01/2004 09:28, Michael Roth wrote: > I'm on my first project using the woody framework. > Till now I'm satiesfied with it, but there is a > big problem. I've to show a form and some of the fields > are read/write or read only depending on the role > of the user. How can I do this with Woody ? > > Thanks a lot > > Michael Roth > > > Michael Roth > Technische Universit�t Wien > Zentraler Informatik Dienst - Zentrale Services > Wiedner Hauptstra�e 8-10, 1040 Wien > Tel.: 58801 42091 / Fax: 58801 42099 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org