• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6304: Extension to allow custom drop-down boxes with automatic updates when changed.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ActionTrackerPlugin Enhancement New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I extended the action tracker plugin to allow all select boxes to be able to use the "state shortcut". With this added subroutine, one can create a custom select box with a set number of choices. The select box will be shown properly in all forms, with a fully populated dropdown, instead of just the text (which is the prior behavior). Also, the state shortcut is utilized so that when the user selects another value from the dropdown, it gets updated automatically just like when the user changes the state from open to closed.

I used the parameter that allows the state shortcut to determine whether or not to allow the select box shortcut. This could be extended to have its own parameter, but for my purposes it was sufficient.

The patch is attached here:

-- TWiki:Main/KentDozier - 18 Aug 2009

ItemTemplate
Summary Extension to allow custom drop-down boxes with automatic updates when changed.
ReportedBy TWiki:Main.KentDozier
Codebase 4.1.2
SVN Range TWiki-5.0.0, Sat, 18 Apr 2009, build 18024
AppliesTo Extension
Component ActionTrackerPlugin
Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch ActionTrackerPlugin.patch r1 manage 1.9 K 2009-08-18 - 18:18 KentDozier Patch for Action Tracker Plugin to extend state shortcut to all select drop-downs.
Topic revision: r1 - 2009-08-18 - KentDozier
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback