> Hi guys!
> Ian, I can define some attribute visible by the servlet by the class
> attribute _servletMethods, is there a way to turn a property visible?
> In the fecomponent i'm writing I have a piece of code like:
> def _get_formValidated(self):
> return self._formValidated
> def _del_formValidated(self):
> self.formValidated = False
> formValidated = property(_get_formValidated, None, del_formValidated)
> is there a way to export this property or I must use a method reather
> than a property or an attribute?
You'll have to use the awakeEvent to set the property, then delete it in
sleepEvent -- unfortunately you can't really attach a property to
another class, just due to the nature of Python descriptors.
Ian Bicking / ianb@... / http://blog.ianbicking.org