Re: How do I send an HDF dataset to a ClearSilver template?
Brandon Long <[email protected]> Wed, 16 Sep 2009 17:50:34 -0700
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Organization | Fiction L Networks |
| Message-ID | <20090917005034.GA17594@bl1> |
On 09/16/09 Tobi uttered the following other thing:
> I've been modifying a trac module, and it uses the ClearSilver
> template language. I need to get a list of strings to the template to
> load into a select control. The problem I'm running into is that it is
> not at all clear to me how I would expose data to the template. I'm
> using trac 0.11.3 on apache2 with mod_python, could someone help me
> with this? I feel like I'm missing something really easy.
I know nothing of the internals to trac, but what you should be looking
for is how the HDF dataset for clearsilver gets populated, since that's
what you will use in clearsilver to render your select widget.
Searcing for "dataset" or "hdf" or at worse "parse" or "render" or even
worse "neo_cgi" or "neo_cs" would be where to start to backtrack from
where the hdf is passed to parse/render (or CS creation from neo_cs) and
then figure out how to access that hdf.
Brandon
--
"The most merciful thing in the world is the inability of the human
mind to correlate all its contents." -- H. P. Lovecraft
http://www.fiction.net/blong/