You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joerg Heinicke <jo...@gmx.de> on 2004/02/02 20:26:38 UTC

Re: Conditionally rendering a widget

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