To quote the TW2 docs, "ToscaWidgets 2 has changed how id and name parameters are generated. Just like ToscaWidgets 1, a widget’s full ID is generated by combining it’s ID with those of its ancestors. ToscaWidgets 1 uses underscores as the separator, which causes problems when applications use underscores in widget names. ToscaWidgets 2 uses colons as the separator, and forbids colons in widget names. In additions, a widget’s full name is identical to its full id."

This new behavior is causing me some trouble in TurboGears: I need to remove the parent name prefix in all parameter names in my controller methods, and I can't use keyword args for these parameters any more.

Has anybody found a simple solution for this problem? formencode.variabledecode may be helpful here, but it's still ugly.

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en.

Reply via email to