Re: DynamicExportingDirectory usage

"Roger E. Masse" <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
>  I am poking around in Toboso and Dulcenia. I am trying to get the
> crums library to work. The problem that I am having is that I am not
> getting the second level of crumbs to work. They are not being written
> out in the html.
>
> I was reading throug the source code to try to figure out what I am
> doing wrong and I ran into the check for the dynamic directory. I
> looked at the code in Dulcinea ui user user and now I am throughly
> confused.
>
> Do you use the dynamic directory as a replacement for Quixote's directory?

Yes.  to get the full crumb support implemented in dulcinea.ui.crumbs you
need
to use DynamicExportingDirectory instead.

> The code for crumbs also as code for building the reference without
> using the dynamic directory. What signature is needed for the Quixote
> directory to work?

I'm sorry, I don't think I understand what you are asking.  The calling
signature
(e.g. lookup and traversal) for a DynamicExportingDirectory is the same as
Quixote
Directory.  DynamicExportingDirectory replaces _q_exports class variable
with a
get_exports method which returns a sequence of 4-tuples: (component, name,
crumb, title)
to be exported.  This is used to generated the suckerfish-style menus.

     -Roger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.