On Wed, 13 Sep 2006 14:38:10 -0700
Matthew Bevan <[EMAIL PROTECTED]> wrote:

> Howdy!
> 
> I'm trying to (ab)use Widgets to perform simple Portlet tasks such
> as side-bar menus, calendars, etc.  So far, it's working
> exceptionally well.  However, I need to provide conditional
> Portlets.  For example, I want an additional menu to appear if signed
> in as an administrator.  Etc.
> 
> Any idea how I can tell a widget to not render, even if asked?
> 
> Matthew Bevan, Systems Administrator
> Top Floor Computer Systems Ltd.

You could always overload the display/render methods and pass an empty
or None value back given your requirements.

Jason

-- 
Two years ago, I generated a gpg key that expired August 24, 2006
(686FD13C).  I've now generated a new one (C7EFE9F4).

Attachment: signature.asc
Description: PGP signature

Reply via email to