wiki:DynamicVariablesPlugin

Version 1 (modified by Rob Guttman, 13 years ago) (diff)

New hack DynamicVariablesPlugin, created by robguttman

Default and convert report dynamic variables to pulldowns

Description

This plugin applies to all reports that use dynamic variables. The plugin does two things for dynamic variables whose (uppercase) name exactly matches a built-in or custom (lowercase) select field name:

  • Dynamic variables are set to a default value if unset
  • The text field for dynamic variables is converted to a pulldown menu

JavaScript is required for the second feature above.

Bugs/Feature Requests

Existing bugs and feature requests for DynamicVariablesPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:dynamicvariablesplugin here].

Source

You can check out DynamicVariablesPlugin from here using Subversion, or browse the source with Trac.

Example

Before:

After:

Recent Changes

16587 by rjollos on 2017-05-14 15:31:58
1.2.0dev: Restore argument unintentionally removed in r16586
16586 by rjollos on 2017-05-13 17:41:52
1.2.0dev: Add branch compatible with Trac 1.2
15377 by rjollos on 2016-03-01 01:15:59
0.2.0dev: Fix empty select with Trac 0.12

Patch by Jun Omae.

Fixes #12679.

(more)

Author/Contributors

Author: robguttman
Maintainer: robguttman
Contributors:

Attachments (2)

Download all attachments as: .zip