[z3-five] Can't call absolute_url on a z3 view in z2.10
Derek Richardson
derek.richardson at gatech.edu
Thu Jun 21 21:17:20 CEST 2007
It must not, but that is provided automatically in z3.3, it seems, but
not by Five. Did you see the magic:
Products.Five.metaclass.Atom_1_0_FeedView
Atom_1_0_FeedView is my class, but the Products.Five.metaclass is, from
my perspective, deep voodoo.
My assumption was simply that it should work in 2.10 like it does in
3.3. I can add a absolute_url function, but that kinda defeats the
purpose....
(BTW, Tim, sorry for the dup msg - z3-five rejected my first post).
Derek
Tim Hicks wrote:
> Derek Richardson wrote:
>> In z3, I can call absolute_url on a z3 view in a zpt, like so:
>>
>> view/@@absolute_url
>>
>> Adjusting for z2 vs z3 nomenclature, I should be able to do this in z2.10:
>>
>> string:${view/absolute_url}
>>
>> However, I get a traversal error:
>
> Does your view have an 'absolute_url' method?
>
> Tim
More information about the z3-five
mailing list