Menu

#137 Proper use of url() for widgets in the documentation

2.2.0
closed
nobody
None
core
defect
trivial
core
2.1.4
2012-04-03
2012-01-04
No

On the page http://www.turbogears.org/2.1/docs/main/ToscaWidgets/forms.html?highlight=csslink the url() function is used when setting the link parameter of CSSLink. That's bad because generally, lurl() should be used when creating widgets instead of url(), but in this case even lurl() would be wrong since ToscaWidgets already calls it when setting the parameter with the property setter. See also this thread: http://groups.google.com/group/turbogears/browse_thread/thread/746101de2ccc399a/b669a5b3a9314e51?show_docid=b669a5b3a9314e51

So the url() calls should be removed from the docs and the above issue should be explained here so people know how to deal with URLs in widgets.

Discussion

MongoDB Logo MongoDB