Hi Michael,

You can use the role to filter the wd:styling (@type='output' for a read-only 
rendering) :
read-write : <wt:widget id="myWidget"/>
read-only : <wt:widget id="myWidget"><wi:styling type="output"/></wt:widget>

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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to