[Zope] - Document modification time
Kent Polk
kent@eaenki.nde.swri.edu
Mon, 7 Dec 1998 16:57:07
Hi Kent, you dummy. You wrote:
> Close...
>
> What about a parent document which lists child documents? I need to be
> able to query the list of child objects which are referenced in the parent
> document and find the latest date. And I'd like to be able to extend that
> behavior to things like like sql query results so they can contribute their
> 'modification date'. And no, I don't want to discuss issues about walking
> the tree right now. :^)
>
> In the past, I have tried to examine subobjects in this manner in order to
> produce an examination result and have met with varying degrees of success.
> For example, I was trying to examine the objectValues of a series of Conferas:
>
> <!--#in "objectValues('Confera Topic')" skip_unauthorized=1 sort=bobobase_modification_time -->
> <!--#in "_['sequence-item'].objectValues()" -->
> <!--#var uniqueId--> :
> <!--#var id--> :
> <!--#var meta_type--><BR>
> <!--#/in objectValues-->
> <!--#/in objectValues-->
Ummm. I forgot where I was going... Got stuck in the exit lane and
am now suffering from vapor lock, stuck here in the traffic...
What I was thinking about was implementing it like one of those computed
attribute thingies in Tabula <!--#var latest_bobobase_modification_time-->
which I could do in an external method, as I discussed before...
How would that fit in with your suggestion? (sitting here, playing with
the clutch and flipping the turn signal switch)
Kent