Tags:
create new tag
, view all tags

Question

Hi, When creating a new form, I would like to have a field say "owner" which should be of type "select". The valid choices for this must the list of valid/registered TWikiUsers. Some possible use cases would be say when I like to assign a bug, I would like to make sure that the person to whom I am assigning is valid.

Is there anyway(variable) that I could use to populate the "select-list" to dynamically include the list of valid users.

Is it possible to integrate such a thing with ActionTrackerPlugin and other plugins.

thanks Srikanth

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhad Enterprise Linux-4
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  
Categories: Forms

-- SrikanthKrishnamachary - 29 Apr 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

See, "A Form to Add an Action (with selectable names and a nice calendar)", on my user page.

-- SeanCMorgan - 29 Apr 2008

Thanks. I was able to populate the things. One minor remark regarding the script that you had at your userpage.. The cool-utility to add action items using the interface was having problems becuase of the following

a. Had to include %INCLUDE{"%SYSTEMWEB%/JSCalendarContribInline"}% in the template
b. Had to update the image source to src="%PUBURL%/%SYSTEMWEB%/JSCalendarContrib/img.gif
Not sure if these changes were required because of some incorrectness on my setup..but any felt like letting you know about these so that you can decide if they are valid or not

-- SrikanthKrishnamachary - 30 Apr 2008

'b.' simply expands to my text of '/pub/TWiki/...' on my server. But you're right, that's how it should be written so I'll change that.

I have no idea why you need 'a.' But I'll add those remarks in case someone else runs into that.

-- SeanCMorgan - 01 May 2008

 
Change status to:
Topic revision: r5 - 2008-05-01 - SeanCMorgan
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.