Hi,

I'm getting troubles using TW in TG11 as widgets. Funnily enough I made 
it work at work - but here on my notebook, it fails. The reason is 
simple: ToscaWidgets registers a template lookup-thingy that doesn't get 
passed the directories to search.

Thus the lookup fails.

Apart from installing tw & twForms and freshly creating a TG11-project, 
I've put this into my controller:

from toscawidgets.api import Widget


class MakoWidget(Widget):
     params = ['count']
     template = "toscawidgettest.templates.mako_widget"
     engine_name = "mako"

mako_widget = MakoWidget(count=100)


Trying this to render gives me

http://paste.turbogears.org/paste/2726

as an exception.

Any suggestions?

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to