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.

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

Which I have now done!  My first attempt ended in nothing but exceptions complaining about modifying active widgets.  My second attempt worked much, much better.

Matthew Bevan, Systems Administrator
Top Floor Computer Systems Ltd.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to