[mod_python] Templating system issue

Sean Davis sdavis2 at mail.nih.gov
Fri Mar 30 11:09:30 EST 2007


On Friday 30 March 2007 11:49, Olaf Stein wrote:
> Sorry,
>
> Just for out how it works....
>
> Page.x.attributename=whatever
>
> On 3/30/07 11:38 AM, "Olaf Stein" <steino at ccri.net> wrote:
> > Hi All,
> >
> > I am writing a little app using mod_python and PyMeld as a templating
> > system. I have my own class for handling sessions and now want to pass
> > the session id from function to function.
> >
> > PyMeld works fine, except it does not allow me (at least not to my
> > knowledge) to e.g set values for hidden fields or attach the session id
> > to the url, it only lets me set "display" values not values for
> > attributes themselves, which is what I would need in this case.

How about:

<hidden id='sessionid'>12345678</hidden>

Then using pymeld:

Page.sessionid='456789123'

Sean


More information about the Mod_python mailing list