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 #146 (closed enhancement: fixed)

Opened 14 years ago

Last modified 12 years ago

[PATCH] Additional widgets + changes to input_values

Reported by: Splee Owned by: Splee
Priority: normal Milestone: 0.9
Component: TG Widgets Version:
Severity: normal Keywords: widget
Cc:

Description

Patch Attached

Additional widgets:

  • TextArea? - Acts in the same manner as a TextField?
  • SelectField? - has an additional attribute called options. options should be a list of dictionary objects. Each dict should have "value", "text" and "selected".

Also makes it possible to add input_values to a widget within the controller, rather than being forced to do it in the template. Any input_values that are assigned in the controller will be overwritten if input_values are assigned in the template.

Attachments

new_widgets_and_input_values.diff Download (3.9 KB) - added by spleeman@… 14 years ago.
Patch for a couple of new widgets and some changes to input_values

Change History

Changed 14 years ago by spleeman@…

Patch for a couple of new widgets and some changes to input_values

comment:1 Changed 14 years ago by anonymous

  • Component changed from CherryPy to Widgets
  • Summary changed from Additional widgets to Additional widgets + changes to input_values

comment:2 Changed 14 years ago by elvelind grandin

nice. I'll commit this later

comment:3 Changed 14 years ago by michele

  • Summary changed from Additional widgets + changes to input_values to [PATCH] Additional widgets + changes to input_values

comment:4 Changed 14 years ago by SuperJared <jared.kuolt@…>

  • Status changed from new to closed
  • Resolution set to fixed
  • Type changed from defect to enhancement

I've got this one.

Looks like you slept too long Elvelind! ;)

Note: See TracTickets for help on using tickets.