durusmail: quixote-users: keeping track of the modules/objects traversed
keeping track of the modules/objects traversed
2004-09-20
2004-09-20
2004-09-20
2004-09-20
2004-09-20
2004-09-21
2004-09-21
2004-09-20
keeping track of the modules/objects traversed
Dustin Lee
2004-09-21
This idea sounds the most promising to me.  get_namespace_stack() is a
method of the publisher.  How do I get ahold of the publisher so that
I can call this method?

dustin


On Mon, 20 Sep 2004 04:38:39 -0700, Oscar Rambla  wrote:
> On Sunday 19 September 2004 22:01, Dustin Lee wrote:
> >
> > http://some.url.com/myapp.cgi/animal/x123/assessment/234/
>
> > The question is
> > when I instantiate the assessment (234) is there an easy way to
> > determine what the animal id was?  the object referred to by 234 is an
> > AssessmentUI object in the assessment_ui module.
> >
>
> > Seems like this is something that folks must do all the time, or maybe
> > I'm just thinking about this is a weird way.
> >
>
> Also, namespace_stack is a quixote build-in that keeps track of the
> modules/objects traversed.
>
> You'll see there is not a general solution for you question. Mostly because
> there are also different possible internal representations of what assessment
> is.
>
> -Oscar Rambla
>



--
Dustin Lee
qhfgva=rot13(dustin)

reply