Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 67174 invoked from network); 9 Jan 2004 09:31:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Jan 2004 09:31:21 -0000 Received: (qmail 88449 invoked by uid 500); 9 Jan 2004 09:30:47 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 88420 invoked by uid 500); 9 Jan 2004 09:30:47 -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 88382 invoked from network); 9 Jan 2004 09:30:46 -0000 Received: from unknown (HELO ronin.matrix.tuwien.ac.at) (128.130.36.230) by daedalus.apache.org with SMTP; 9 Jan 2004 09:30:46 -0000 Received: from m-roth.ronin.matrix.tuwien.ac.at (m-roth.matrix.tuwien.ac.at [128.130.36.186]) (authenticated bits=0) by ronin.matrix.tuwien.ac.at (8.12.8/8.12.8) with ESMTP id i099hB4F021086 for ; Fri, 9 Jan 2004 10:43:11 +0100 Message-Id: <5.2.1.1.0.20040109102745.02568138@ronin.matrix.tuwien.ac.at> X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Fri, 09 Jan 2004 10:31:02 +0100 To: users@cocoon.apache.org From: Michael Roth Subject: Re: Woody READONLY Fields In-Reply-To: References: <5.2.1.1.0.20040109092444.02568f10@ronin.matrix.tuwien.ac.at> <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: quoted-printable 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 Olivier, Thats a good idea, but how do you solve the problem that an output widget does not read its value from the request ? Michael At 09:58 09.01.2004 +0100, you wrote: >Hi Michael, > >You can use the role to filter the wd:styling (@type=3D'output' for a=20 >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=E4t Wien >>Zentraler Informatik Dienst - Zentrale Services >>Wiedner Hauptstra=DFe 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 Michael Roth Technische Universit=E4t Wien Zentraler Informatik Dienst - Zentrale Services Wiedner Hauptstra=DFe 8-10, 1040 Wien Tel.: 58801 42091 / Fax: 58801 42099=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org