Hi,

my component consists of two classes, one of them being an admin screen
to set some options, that are defined and used in the other class.
Since components are singletons, how do I access the class members
properly?

class SomePlugin(Component)
   myvalue = BoolOption(...)

class PluginAdminPage(Component)
   def process_admin_request(...)
      req.hdf['myvalue'] = <how_can_I_access_my_value?>

Can anybody help, please? Regards,

-  Christian


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Trac Development" 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/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to