GithubHelp home page GithubHelp logo

Comments (6)

pedersen avatar pedersen commented on May 23, 2024

Original Author: csmall, Original Timestamp: 2011-10-08 04:46:48.788000

Original Body: I was doing the ToscaWidgets tutorial at http://www.turbogears.org/2.1/docs/main/ToscaWidgets/forms.html except i was using Mako templates instead of Genshi.
The section Customizing With CSS And Form Templates says that you can use the hover_help = True in your form template to make hovering help. Setting this to true gives a server error.

Module mako.runtime:718 in _exec_template view

callable_(context, _args, *_kwargs)
Module _tw_forms_templates_table_form_mak:104 in render_body view
UnboundLocalError: local variable 'help_text' referenced before assignment

from tg2.

pedersen avatar pedersen commented on May 23, 2024

Original Author: csmall, Original Timestamp: 2011-10-08 04:52:08.439000

Original Body: File '/home/virtualenv/tg2env/lib/python2.6/site-packages/Mako-0.5.0-py2.6.egg/mako/runtime.py', line 692 in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File '/home/virtualenv/tg2env/lib/python2.6/site-packages/Mako-0.5.0-py2.6.egg/mako/runtime.py', line 718 in exec_template
callable
(context, _args, *_kwargs)
File '_tw_forms_templates_table_form_mak', line 104 in render_body
UnboundLocalError: local variable 'help_text' referenced before assignment

from tg2.

pedersen avatar pedersen commented on May 23, 2024

Original Author: pedersen, Original Timestamp: 2011-11-25 22:25:13.606000

Original Body: - milestone: 2.1.4 --> 2.2.0

from tg2.

pedersen avatar pedersen commented on May 23, 2024

Original Author: pedersen, Original Timestamp: 2012-08-24 01:47:52.674000

Original Body: - version: 2.1.3 --> 2.1.5

  • milestone: 2.2.0 --> 2.3.0

from tg2.

pedersen avatar pedersen commented on May 23, 2024

Looking at this, this problem resides in tw.forms. Unfortunately, since this a problem in ToscaWidgets 0.9, and the TW team is pushing TW2, we might not be able to get a code fix for this. Instead, we are probably going to have to update this to include only TW2 references.

from tg2.

amol- avatar amol- commented on May 23, 2024

Closing as invalid as TW1 is no longer used by TG nor referenced by documentation.

from tg2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.