[[PageOutline(2-5,Contents,pullout)]] = Trac Component Alias Plugin = == Description == Changes the component based off the selection from a custom field of type `radio` or `select`. The plugin is implemented in Python, so the component will be changed only after the form is submitted (as opposed to some implementations in !JavaScript that may dynamically change the field client-side). == Bugs/Feature Requests == Existing bugs and feature requests for TracComponentAliasPlugin are [report:9?COMPONENT=TracComponentAliasPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracComponentAliasPlugin&owner=zshahan new ticket]. == Download == Download the zipped source from [download:traccomponentaliasplugin here]. == Source == You can check out TracComponentAliasPlugin from [http://trac-hacks.org/svn/traccomponentaliasplugin here] using Subversion, or [source:traccomponentaliasplugin browse the source] with Trac. == Example == {{{ #!ini ; test1 and test2 define the grouping. The name can be whatever you want. [component_alias] test1.alias = component1 ; change component to this alias if "TEST" is selected test1.custom_field = custom_field ; custom ticket field this applies to test1.name = TEST ; name from the custom ticket field this applies to test2.alias = component2 ; change component to this alias if "This is a test" is selected test2.custom_field = custom_field ; custom ticket field this applies to test2.name = This is a test ; name from the custom ticket field this applies to [ticket-custom] custom_field = select custom_field.options = TEST|This is a test }}} == Recent Changes == [[ChangeLog(traccomponentaliasplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:zshahan] [[BR]] '''Maintainer:''' [wiki:zshahan] [[BR]] '''Contributors:'''