michelts wrote:
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  /  [EMAIL PROTECTED]  / http://blog.ianbicking.org


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to