Motivation
Every time I see a
WaitingFor or
ComittedDeveloper text field, i want to click an 'add|remove Me' button - or a dropdown containing frequently used values...
Description and Documentation
I'm hoping that we can do something quickly with jquery and perhaps Paul's
EditorAPI stuff
Examples
Impact
Implementation
--
Contributors: SvenDowideit - 15 Dec 2010
Discussion
The name of this topic isn't very revealing.. But I gather you want some auto-magicalness which suggests values based on something other than a static query
To solve the
WatingFor/ComittedDeveloper problem, if trunk.foswiki.org had all the user topics that foswiki.org had, I'd change the form to use
JQueryTextboxList - but of course this only works from edit.
Currently the "EditorAPI" work has base types of plaintext, plaintextarea, richtext, singlevalue, multivalue, static (and I have others waiting to be resurrected). The basetypes must have one or more handlers. For example, the multivalue type has handlers you are more familiar with: checkbox and select+multi. So the DataForm line would contain
multivalue+checkbox
(or just
multivalue
, and the user can flick between handlers available for that type on-the-fly... not that this is something users would be entirely comfortable with).
Still working up an edit-from-view (inline-edit) strategy, which involves too much javascript, but I should be ready to share soon... oh so soon...
--
PaulHarvey - 15 Dec 2010