On 10/14/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
>
> if not getattr(method[1], "exposed", False)
>
> we do indeed set exposed on exposed methods (otherwise CP would
> ignore them)
>
umm why it doesn't works? as method[1].exposed? I guess CP does
something more then just setting a flag.

but I set it as
    methods =[method[0] for method in methods if
getattr(method[1],'exposed',False)]

and it works now, thanks

> Kevin
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to