Using Pylons-Controller in Turbogears 2.0

Saturday, May 16th, 2009

If you want to enhance your TG2 app with some tech, like .. say a RPC-XML Interface, you can use the special Controller provided by Pylons: XMLRPCController. Unfortunately you can not just mount this controller as any other Turbogears Controller, because it does not support object dispatch.
Instead you have to use the Pylons function forward [...]

Sprox and TG2

Sunday, May 10th, 2009

While playing around with Sprox and TG2, I found a little bug for which a fix is commited to Sprox, but not yet released. I had to a bit until I found a nice and easy workaround. I just copied the changed code into a Mixin class, which can be patched into the declarative Sprox [...]

repair.4geeks.de

Monday, February 9th, 2009

Endlich habe ich es geschafft mein neues ‘kleines’ Projekt fertigzustellen:
repair.4geeks.de
Wie jeder der sich irgendwie mit Computern beschäftigt, habe auch ich meinen Ruf weg. Das hat zur Folge, dass ich genötigt werden Computer von Freunden und Bekannten zu reparieren. Irgendwann kam mir der Gedanke, meine Erlebnisse in wiederverwertbare Form zu gießen. Erste Versuche mit Pyke waren [...]

ToscaWidgets headache

Sunday, December 14th, 2008

I just spent 2 hours to find a way to set the value of a tw HiddenField. Unfortunately the author did not think, it would be a good thing to mention such nonrelevant tasks in the documentation.
To save you searching for yourself:
options = {’form_name’ : {’attrs’ : {’value’:'your_value’}}}
Later in the template to show your form:
${tmpl_context.form(child_args=options)}