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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-05-01 - SeanCMorgan
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.