cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Conditionally rendering a widget
Date Mon, 02 Feb 2004 19:26:38 GMT
On 31.01.2004 16:00, Vasyl Stashuk wrote:

> How do i render widget conditionally, i.e. if currently logged used is 
> admin she must see 'edit' button, if regular user - must not.

Just use two different form templates or modify one dynamically 
depending on the role.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message