[PEAK] sitemap, specialist, and permissionNeeded (I presume)

R. David Murray rdmurray at bitdance.com
Mon Nov 1 23:37:21 EST 2004


On Mon, 1 Nov 2004, Phillip J. Eby wrote:
> >         <allow attributes="__get__" />
>
> You don't need the '__get__' attribute here unless it's going to be part of
> a URL path, btw.

Ah, got it.

> In the Account class, add:
>
>      security.allow(security.Anybody)

Worked like a charm, of course.  Thanks.

Now, for the next thing I so far haven't been able to find digging
through the mailing list archive:  in a pwt, how do I reference
the attributes of the object?

    <span this:replace="./id" />

just gets me

    NotFound(u'id', <fcgbilling.model.Account object at 0x872f59c>)

it feels like I'm missing something obvious.  Maybe it's just too
late at night for me to see it.

--David



More information about the PEAK mailing list