Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #914 (closed defect: wontfix)

Opened 13 years ago

Last modified 12 years ago

callable widget parmeters are not working

Reported by: jowenn@… Owned by: anonymous
Priority: normal Milestone: 1.0
Component: TG Widgets Version: 0.9a6
Severity: normal Keywords:


According to the comments in the widget code it should be possible to pass callables for all parameters. It workes fine for options of MultipleSelectFields?, but if I pass a function to the "default" parameter of a text field I get the output "<function myvalue at 0xb74ef6bc>" instead of the value the function should return. => Function doesn't get called

Change History

comment:1 Changed 13 years ago by jorge.vargas

  • Milestone set to 1.0

please provide a working example and/or a traceback

comment:2 Changed 12 years ago by alberto

  • Status changed from new to closed
  • Resolution set to wontfix

Automatic calling of parameters works *only* for those listed at the widget's "params" attribute (or one of it's superclasses). "default" is not one of those.

You can see which parameters at this by peeking into the widget's attribute in a python interpreter.


Note: See TracTickets for help on using tickets.