[EMAIL PROTECTED] wrote:
> I found the code for the setAll and I think I know what the issue is...
> 
> for kid in kids:
>       ok = hasattr(kid, prop)
>       if ok:
>               if filt:
>                       ok = eval("kid.%s" % filt)
>       if ok:
>               setattr(kid, prop, val)
>       if recurse:
>               if hasattr(kid, "setAll"):
>                       kid.setAll(prop, val, recurse=recurse, filt=filt)
> 

Not that it matters, but this code can be sped up by replacing the if hasattr( 
with a try catch pattern.  I'm too tangled up in my current project to adjust 
it.

> Am I correct in that the substitution will breakdown if there is a complex
> filter with AND's /OR's?

it is probably what it says  "RAClasses.RATextBox is not defined"
cut/paste the stack dump showing the error.

Carl K


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to