On Sunday 16 December 2001 05:24 am, Alex V Koval wrote:
> Hello All,
> I tried to use MiddleKit, but documented Enum attribute does not
> work. This is my first application using Python, Webware and Cheetah.
> I am not python guru, but since I wanted my application to start
> working I made some changes in my copy of Webware. May be those
> patches (or ideas of those patches) will help other ppl to get
> MiddleKit start working for them.
I've been using Enums for over a year. Due to limitations of DataTable,
I think you ran into the problem where you have to use single quotes
instead of double:
Enums='foo, bar, baz'
And although I've always done these in the Extras column, you could
also put them in a dedicated Enums column:
'foo, bar, baz'
> BTW, does anybody knows is MiddleKit is still in development?
Yes, Geoff and I have both done work on it recently.
You can see this from browsing CVS:
And the individual file histories as well.
Regarding your patch, I'm not sure why you switch enums to come from
Notes rather than Enums, but we're likely to keep it as Enums since
Notes are strictly for that.