| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Default and convert report dynamic variables to pulldowns = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | This plugin applies to all [http://trac.edgewall.org/wiki/TracReports#AdvancedReports:DynamicVariables 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: |
| 8 | |
| 9 | * Dynamic variables are set to a default value if unset |
| 10 | * The text field for dynamic variables is converted to a pulldown menu |
| 11 | |
| 12 | JavaScript is required for the second feature above. |
| 13 | |
| 14 | == Bugs/Feature Requests == |
| 15 | |
| 16 | Existing bugs and feature requests for DynamicVariablesPlugin are |
| 17 | [report:9?COMPONENT=DynamicVariablesPlugin here]. |
| 18 | |
| 19 | If you have any issues, create a |
| 20 | [http://trac-hacks.org/newticket?component=DynamicVariablesPlugin&owner=robguttman new ticket]. |
| 21 | |
| 22 | == Download == |
| 23 | |
| 24 | Download the zipped source from [download:dynamicvariablesplugin here]. |
| 25 | |
| 26 | == Source == |
| 27 | |
| 28 | You can check out DynamicVariablesPlugin from [http://trac-hacks.org/svn/dynamicvariablesplugin here] using Subversion, or [source:dynamicvariablesplugin browse the source] with Trac. |
| 29 | |
| 30 | == Example == |
| 31 | |
| 32 | Before: |
| 33 | |
| 34 | After: |
| 35 | |
| 36 | |
| 37 | == Recent Changes == |
| 38 | |
| 39 | [[ChangeLog(dynamicvariablesplugin, 3)]] |
| 40 | |
| 41 | == Author/Contributors == |
| 42 | |
| 43 | '''Author:''' [wiki:robguttman] [[BR]] |
| 44 | '''Maintainer:''' [wiki:robguttman] [[BR]] |
| 45 | '''Contributors:''' |